Package org.bouncycastle.crypto.general
Class RSA
- java.lang.Object
-
- org.bouncycastle.crypto.general.RSA
-
public final class RSA extends java.lang.ObjectSource class for non-FIPS implementations of RSA based algorithms.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRSA.ISO9796d2PSSSignatureParametersParameters for ISO 9796-2 PSS signature algorithms.static classRSA.ISO9796d2SignatureParametersParameters for ISO 9796-2 signature algorithms.static classRSA.KeyGenParametersRSA key pair generation parameters for non-FIPS usages.static classRSA.KeyPairGeneratorRSA key pair generator class for non-FIPS usages.static classRSA.KeyWrapOperatorFactoryFactory for creating non-FIPS RSA key wrap/unwrap operators.static classRSA.OAEPParametersParameters for use with non-FIPS RSA OAEP formatted key wrapping/unwrapping and encryption/decryption.static classRSA.OperatorFactoryFactory for creating non-FIPS encryption/decryption operators.static classRSA.ParametersBase class for RSA encryption/decryption and key wrap/unwrap parameters.static classRSA.PKCS1v15ParametersParameters for use with non-FIPS RSA PKCS#1 v1.5 formatted key wrapping/unwrapping and encryption/decryption.static classRSA.PKCS1v15SignatureParametersParameters for PKCS#1 v1.5 signature algorithms.static classRSA.RawParametersParameters for use with unformatted RSA encryption/decryption.static classRSA.SignatureOperatorFactory<T extends RSA.SignatureParameters>Operator factory for creating non-FIPS RSA based signing and verification operators.static classRSA.SignatureParameters<T extends RSA.SignatureParameters>Base class for non-FIPS RSA digest based signature algorithm parameters.static classRSA.SignatureWithMessageRecoveryOperatorFactory<T extends RSA.SignatureParameters>Operator factory for creating RSA based signing and verification operators which also offer message recovery.static classRSA.WrapParametersBase class for parameters that can also be used for key wrapping.static classRSA.X931SignatureParametersParameters for PKCS#1 v1.5 signature algorithms.
-
Field Summary
Fields Modifier and Type Field Description static GeneralAlgorithmALGORITHMThe generic algorithm for RSA.static RSA.ISO9796d2SignatureParametersISO9796d2Algorithm parameter source for ISO9796-2.static RSA.ISO9796d2PSSSignatureParametersISO9796d2PSSAlgorithm parameter source for ISO9796-2PSS.static RSA.PKCS1v15SignatureParametersPKCS1v1_5RSA PKCS#1 v1.5 Signature parameter source - default digest is SHA-1.static RSA.RawParametersRAWAlgorithm parameter source for raw unpadded RSA.static RSA.OAEPParametersWRAP_OAEPRSA OAEP algorithm parameter source - default digest is SHA-1static RSA.PKCS1v15ParametersWRAP_PKCS1v1_5RSA PKCS#1 v1.5 key wrap algorithm parameter source - default is SHA-1static RSA.X931SignatureParametersX931RSA X9.31 signature algorithm parameter source - default is SHA-1
-
-
-
Field Detail
-
ALGORITHM
public static final GeneralAlgorithm ALGORITHM
The generic algorithm for RSA.
-
RAW
public static final RSA.RawParameters RAW
Algorithm parameter source for raw unpadded RSA.
-
ISO9796d2
public static final RSA.ISO9796d2SignatureParameters ISO9796d2
Algorithm parameter source for ISO9796-2.
-
ISO9796d2PSS
public static final RSA.ISO9796d2PSSSignatureParameters ISO9796d2PSS
Algorithm parameter source for ISO9796-2PSS.
-
WRAP_OAEP
public static final RSA.OAEPParameters WRAP_OAEP
RSA OAEP algorithm parameter source - default digest is SHA-1
-
PKCS1v1_5
public static final RSA.PKCS1v15SignatureParameters PKCS1v1_5
RSA PKCS#1 v1.5 Signature parameter source - default digest is SHA-1.
-
WRAP_PKCS1v1_5
public static final RSA.PKCS1v15Parameters WRAP_PKCS1v1_5
RSA PKCS#1 v1.5 key wrap algorithm parameter source - default is SHA-1
-
X931
public static final RSA.X931SignatureParameters X931
RSA X9.31 signature algorithm parameter source - default is SHA-1
-
-