Package org.cryptacular.adapter
Class AbstractWrappedRSAKey<T extends org.bouncycastle.crypto.params.RSAKeyParameters>
java.lang.Object
org.cryptacular.adapter.AbstractWrappedKey<T>
org.cryptacular.adapter.AbstractWrappedRSAKey<T>
- Type Parameters:
T
- RSA key parameters type handled by this class.
- All Implemented Interfaces:
Serializable
,Key
- Direct Known Subclasses:
WrappedRSAPrivateCrtKey
,WrappedRSAPublicKey
public abstract class AbstractWrappedRSAKey<T extends org.bouncycastle.crypto.params.RSAKeyParameters>
extends AbstractWrappedKey<T>
Base class for RSA wrapped keys.
- 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
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractWrappedRSAKey
(T wrappedKey) Creates a new instance that wraps the given key. -
Method Summary
Methods inherited from class org.cryptacular.adapter.AbstractWrappedKey
getEncoded, getFormat
-
Constructor Details
-
AbstractWrappedRSAKey
Creates a new instance that wraps the given key.- Parameters:
wrappedKey
- Key to wrap.
-
-
Method Details
-
getModulus
- Returns:
- Gets the RSA modulus.
-
getAlgorithm
-