Class DSAPrivateKeyImpl

  • All Implemented Interfaces:
    SdkmsKey, java.io.Serializable, java.security.interfaces.DSAKey, java.security.interfaces.DSAPrivateKey, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable

    public class DSAPrivateKeyImpl
    extends sun.security.pkcs.PKCS8Key
    implements java.security.interfaces.DSAPrivateKey, SdkmsKey
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class sun.security.pkcs.PKCS8Key

        algid, encodedKey, key, version
      • Fields inherited from interface java.security.interfaces.DSAPrivateKey

        serialVersionUID
    • Constructor Summary

      Constructors 
      Constructor Description
      DSAPrivateKeyImpl​(com.fortanix.sdkms.v1.model.KeyObject keyObject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getEncoded()  
      com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()  
      java.security.interfaces.DSAParams getParams()  
      java.math.BigInteger getX()  
      • Methods inherited from class sun.security.pkcs.PKCS8Key

        decode, decode, encode, encode, equals, getAlgorithm, getAlgorithmId, getFormat, hashCode, parse, parseKey, parseKeyBits, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.security.auth.Destroyable

        destroy, isDestroyed
      • Methods inherited from interface java.security.Key

        getAlgorithm, getFormat
    • Constructor Detail

      • DSAPrivateKeyImpl

        public DSAPrivateKeyImpl​(com.fortanix.sdkms.v1.model.KeyObject keyObject)
    • Method Detail

      • getKeyDescriptor

        public com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()
        Specified by:
        getKeyDescriptor in interface SdkmsKey
      • getX

        public java.math.BigInteger getX()
        Specified by:
        getX in interface java.security.interfaces.DSAPrivateKey
      • getParams

        public java.security.interfaces.DSAParams getParams()
        Specified by:
        getParams in interface java.security.interfaces.DSAKey
      • getEncoded

        public byte[] getEncoded()
        Specified by:
        getEncoded in interface java.security.Key
        Overrides:
        getEncoded in class sun.security.pkcs.PKCS8Key