Package org.bouncycastle.crypto.general
Class RSA
- java.lang.Object
-
- org.bouncycastle.crypto.general.RSA
-
public final class RSA extends java.lang.Object
Source class for non-FIPS implementations of RSA based algorithms.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RSA.ISO9796d2PSSSignatureParameters
Parameters for ISO 9796-2 PSS signature algorithms.static class
RSA.ISO9796d2SignatureParameters
Parameters for ISO 9796-2 signature algorithms.static class
RSA.KeyGenParameters
RSA key pair generation parameters for non-FIPS usages.static class
RSA.KeyPairGenerator
RSA key pair generator class for non-FIPS usages.static class
RSA.KeyWrapOperatorFactory
Factory for creating non-FIPS RSA key wrap/unwrap operators.static class
RSA.OAEPParameters
Parameters for use with non-FIPS RSA OAEP formatted key wrapping/unwrapping and encryption/decryption.static class
RSA.OperatorFactory
Factory for creating non-FIPS encryption/decryption operators.static class
RSA.Parameters
Base class for RSA encryption/decryption and key wrap/unwrap parameters.static class
RSA.PKCS1v15Parameters
Parameters for use with non-FIPS RSA PKCS#1 v1.5 formatted key wrapping/unwrapping and encryption/decryption.static class
RSA.PKCS1v15SignatureParameters
Parameters for PKCS#1 v1.5 signature algorithms.static class
RSA.RawParameters
Parameters for use with unformatted RSA encryption/decryption.static class
RSA.SignatureOperatorFactory<T extends RSA.SignatureParameters>
Operator factory for creating non-FIPS RSA based signing and verification operators.static class
RSA.SignatureParameters<T extends RSA.SignatureParameters>
Base class for non-FIPS RSA digest based signature algorithm parameters.static class
RSA.SignatureWithMessageRecoveryOperatorFactory<T extends RSA.SignatureParameters>
Operator factory for creating RSA based signing and verification operators which also offer message recovery.static class
RSA.WrapParameters
Base class for parameters that can also be used for key wrapping.static class
RSA.X931SignatureParameters
Parameters for PKCS#1 v1.5 signature algorithms.
-
Field Summary
Fields Modifier and Type Field Description static GeneralAlgorithm
ALGORITHM
The generic algorithm for RSA.static RSA.ISO9796d2SignatureParameters
ISO9796d2
Algorithm parameter source for ISO9796-2.static RSA.ISO9796d2PSSSignatureParameters
ISO9796d2PSS
Algorithm parameter source for ISO9796-2PSS.static RSA.PKCS1v15SignatureParameters
PKCS1v1_5
RSA PKCS#1 v1.5 Signature parameter source - default digest is SHA-1.static RSA.RawParameters
RAW
Algorithm parameter source for raw unpadded RSA.static RSA.OAEPParameters
WRAP_OAEP
RSA OAEP algorithm parameter source - default digest is SHA-1static RSA.PKCS1v15Parameters
WRAP_PKCS1v1_5
RSA PKCS#1 v1.5 key wrap algorithm parameter source - default is SHA-1static RSA.X931SignatureParameters
X931
RSA 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
-
-