Package org.mozilla.jss.pkcs11
Class PK11RSAPublicKey
- java.lang.Object
-
- org.mozilla.jss.pkcs11.PK11PubKey
-
- org.mozilla.jss.pkcs11.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 Summary
Fields Modifier and Type Field Description protected org.mozilla.jss.pkcs11.KeyProxy
keyProxy
-
Constructor Summary
Constructors Constructor Description PK11RSAPublicKey(byte[] pointer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
finalize()
java.math.BigInteger
getModulus()
java.math.BigInteger
getPublicExponent()
-
Methods inherited from class org.mozilla.jss.pkcs11.PK11PubKey
fromRaw, fromSPKI, getAlgorithm, getEncoded, getFormat, getKeyType, verifyKeyIsOnToken
-
-
-
-
Method Detail
-
getModulus
public java.math.BigInteger getModulus()
- Specified by:
getModulus
in interfacejava.security.interfaces.RSAKey
-
getPublicExponent
public java.math.BigInteger getPublicExponent()
- Specified by:
getPublicExponent
in interfacejava.security.interfaces.RSAPublicKey
-
finalize
public void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
-