com.ibm.crypto.pkcs11impl.provider
Interface PKCS11RSAPublicKey
-
- All Superinterfaces:
- java.security.Key, com.ibm.pkcs11.P11Key, PKCS11Key, PKCS11PublicKey, java.security.PublicKey, java.security.interfaces.RSAKey, java.security.interfaces.RSAPublicKey, java.io.Serializable
- All Known Implementing Classes:
- RSAPublicKey
public interface PKCS11RSAPublicKey extends PKCS11PublicKey, java.security.interfaces.RSAPublicKey
Contains the basic things needed for a PKCS 11 RSA public key. It is a subclass of PKCS11PublicKey.
-
-
Field Summary
Fields Modifier and Type Field and Description static longserialVersionUID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.math.BigIntegergetModulus()Returns the modulus.java.lang.IntegergetModulusBits()Returns the modulus bitsjava.math.BigIntegergetPublicExponent()Returns the public exponent e-
Methods inherited from interface com.ibm.crypto.pkcs11impl.provider.PKCS11PublicKey
getEncrypt, getSubject, getVerify, getVerifyRecover, getWrap
-
Methods inherited from interface com.ibm.crypto.pkcs11impl.provider.PKCS11Key
getDerive, getEndDate, getID, getKeyType, getLabel, getLocal, getModifiable, getObject, getPrivate, getSessionManager, getStartDate, getToken, rm
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getModulus
java.math.BigInteger getModulus()
Returns the modulus.- Specified by:
getModulusin interfacejava.security.interfaces.RSAKey- Returns:
- the modulus n
-
getModulusBits
java.lang.Integer getModulusBits()
Returns the modulus bits- Returns:
- the length in bits of modulus n
-
getPublicExponent
java.math.BigInteger getPublicExponent()
Returns the public exponent e- Specified by:
getPublicExponentin interfacejava.security.interfaces.RSAPublicKey- Returns:
- the public exponent e
-
-