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:
  • Constructor Details

    • AbstractWrappedRSAKey

      public AbstractWrappedRSAKey(T wrappedKey)
      Creates a new instance that wraps the given key.
      Parameters:
      wrappedKey - Key to wrap.
  • Method Details

    • getModulus

      public BigInteger getModulus()
      Returns:
      Gets the RSA modulus.
    • getAlgorithm

      public String getAlgorithm()