Class DSAKeyAlgorithm


  • public class DSAKeyAlgorithm
    extends KeyAlgorithm<java.security.interfaces.DSAPublicKey,​java.security.interfaces.DSAPrivateKey>
    • Constructor Detail

      • DSAKeyAlgorithm

        public DSAKeyAlgorithm()
    • Method Detail

      • encodeSignature

        public byte[] encodeSignature​(byte[] signature)
                               throws java.io.IOException
        Specified by:
        encodeSignature in class KeyAlgorithm<java.security.interfaces.DSAPublicKey,​java.security.interfaces.DSAPrivateKey>
        Throws:
        java.io.IOException
      • decodeSignature

        public byte[] decodeSignature​(byte[] encodedSignature)
                               throws java.io.IOException
        Specified by:
        decodeSignature in class KeyAlgorithm<java.security.interfaces.DSAPublicKey,​java.security.interfaces.DSAPrivateKey>
        Throws:
        java.io.IOException
      • encodePublicKey

        public byte[] encodePublicKey​(java.security.interfaces.DSAPublicKey publicKey)
                               throws java.io.IOException
        Specified by:
        encodePublicKey in class KeyAlgorithm<java.security.interfaces.DSAPublicKey,​java.security.interfaces.DSAPrivateKey>
        Throws:
        java.io.IOException
      • decodePublicKey

        public java.security.interfaces.DSAPublicKey decodePublicKey​(byte[] encodedPublicKey)
                                                              throws java.io.IOException
        Specified by:
        decodePublicKey in class KeyAlgorithm<java.security.interfaces.DSAPublicKey,​java.security.interfaces.DSAPrivateKey>
        Throws:
        java.io.IOException