Class BCUOVPrivateKey

  • All Implemented Interfaces:
    java.io.Serializable, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable, UOVKey

    public class BCUOVPrivateKey
    extends java.lang.Object
    implements java.security.PrivateKey, UOVKey
    See Also:
    Serialized Form
    • Constructor Detail

      • BCUOVPrivateKey

        public BCUOVPrivateKey​(PrivateKeyInfo keyInfo)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getAlgorithm

        public final java.lang.String getAlgorithm()
        Specified by:
        getAlgorithm in interface java.security.Key
      • getEncoded

        public byte[] getEncoded()
        Specified by:
        getEncoded in interface java.security.Key
      • getParameterSpec

        public UOVParameterSpec getParameterSpec()
        Description copied from interface: UOVKey
        Return the parameter set this key is bound to.
        Specified by:
        getParameterSpec in interface UOVKey
        Returns:
        a UOVParameterSpec naming the (security-level, encoding-variant) pair.
      • getFormat

        public java.lang.String getFormat()
        Specified by:
        getFormat in interface java.security.Key