Package org.cryptacular.adapter
Class WrappedRSAPublicKey
java.lang.Object
org.cryptacular.adapter.AbstractWrappedKey<T>
org.cryptacular.adapter.AbstractWrappedRSAKey<org.bouncycastle.crypto.params.RSAKeyParameters>
org.cryptacular.adapter.WrappedRSAPublicKey
- All Implemented Interfaces:
Serializable
,RSAKey
,RSAPublicKey
,Key
,PublicKey
public class WrappedRSAPublicKey
extends AbstractWrappedRSAKey<org.bouncycastle.crypto.params.RSAKeyParameters>
implements RSAPublicKey
JCE/JDK RSA public key that wraps the corresponding BC RSA public key type,
RSAKeyParameters
.- Author:
- Middleware Services
- See Also:
-
Field Summary
Fields inherited from class org.cryptacular.adapter.AbstractWrappedKey
delegate, PKCS8_FORMAT, X509_FORMAT
Fields inherited from interface java.security.Key
serialVersionUID
Fields inherited from interface java.security.interfaces.RSAPublicKey
serialVersionUID
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedRSAPublicKey
(org.bouncycastle.crypto.params.RSAKeyParameters wrappedKey) Creates a new instance that wraps the given key. -
Method Summary
Methods inherited from class org.cryptacular.adapter.AbstractWrappedRSAKey
getAlgorithm, getModulus
Methods inherited from class org.cryptacular.adapter.AbstractWrappedKey
getEncoded, getFormat
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
Methods inherited from interface java.security.interfaces.RSAKey
getModulus, getParams
-
Constructor Details
-
WrappedRSAPublicKey
public WrappedRSAPublicKey(org.bouncycastle.crypto.params.RSAKeyParameters wrappedKey) Creates a new instance that wraps the given key.- Parameters:
wrappedKey
- RSA key to wrap.
-
-
Method Details
-
getPublicExponent
- Specified by:
getPublicExponent
in interfaceRSAPublicKey
-