Class BCqTESLAPrivateKey

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

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

      • BCqTESLAPrivateKey

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

      • getAlgorithm

        public final java.lang.String getAlgorithm()
        Specified by:
        getAlgorithm in interface java.security.Key
        Returns:
        name of the algorithm
      • getFormat

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

        public QTESLAParameterSpec getParams()
        Description copied from interface: QTESLAKey
        Return the parameters for this key - in this case the security category.
        Specified by:
        getParams in interface QTESLAKey
        Returns:
        a QTESLAParameterSpec
      • getEncoded

        public byte[] getEncoded()
        Specified by:
        getEncoded in interface java.security.Key
      • 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