Class PK11RSAPublicKey

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.AutoCloseable, java.security.interfaces.RSAKey, java.security.interfaces.RSAPublicKey, java.security.Key, java.security.PublicKey

    public class PK11RSAPublicKey
    extends PK11PubKey
    implements java.security.interfaces.RSAPublicKey
    See Also:
    Serialized Form
    • Field Detail

      • keyProxy

        protected org.mozilla.jss.pkcs11.KeyProxy keyProxy
    • Constructor Detail

      • PK11RSAPublicKey

        public PK11RSAPublicKey​(byte[] pointer)
    • Method Detail

      • getModulus

        public java.math.BigInteger getModulus()
        Specified by:
        getModulus in interface java.security.interfaces.RSAKey
      • getPublicExponent

        public java.math.BigInteger getPublicExponent()
        Specified by:
        getPublicExponent in interface java.security.interfaces.RSAPublicKey
      • finalize

        public void finalize()
                      throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception