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.KeyProxykeyProxy
-
Constructor Summary
Constructors Constructor Description PK11RSAPublicKey(byte[] pointer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidfinalize()java.math.BigIntegergetModulus()java.math.BigIntegergetPublicExponent()-
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:
getModulusin interfacejava.security.interfaces.RSAKey
-
getPublicExponent
public java.math.BigInteger getPublicExponent()
- Specified by:
getPublicExponentin interfacejava.security.interfaces.RSAPublicKey
-
finalize
public void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
-