public class RSAESOAEPparams extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
static AlgorithmIdentifier |
DEFAULT_HASH_ALGORITHM |
static AlgorithmIdentifier |
DEFAULT_MASK_GEN_FUNCTION |
static AlgorithmIdentifier |
DEFAULT_P_SOURCE_ALGORITHM |
BER, DER
Constructor and Description |
---|
RSAESOAEPparams()
The default version
|
RSAESOAEPparams(AlgorithmIdentifier hashAlgorithm,
AlgorithmIdentifier maskGenAlgorithm,
AlgorithmIdentifier pSourceAlgorithm) |
RSAESOAEPparams(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getHashAlgorithm() |
static RSAESOAEPparams |
getInstance(Object obj) |
AlgorithmIdentifier |
getMaskGenAlgorithm() |
AlgorithmIdentifier |
getPSourceAlgorithm() |
DERObject |
toASN1Object()
RSAES-OAEP-params ::= SEQUENCE {
hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1,
maskGenAlgorithm [1] PKCS1MGFAlgorithms DEFAULT mgf1SHA1,
pSourceAlgorithm [2] PKCS1PSourceAlgorithms DEFAULT pSpecifiedEmpty
}
OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= {
{ OID id-sha1 PARAMETERS NULL }|
{ OID id-sha256 PARAMETERS NULL }|
{ OID id-sha384 PARAMETERS NULL }|
{ OID id-sha512 PARAMETERS NULL },
... -- Allows for future expansion --
}
PKCS1MGFAlgorithms ALGORITHM-IDENTIFIER ::= {
{ OID id-mgf1 PARAMETERS OAEP-PSSDigestAlgorithms },
... -- Allows for future expansion --
}
PKCS1PSourceAlgorithms ALGORITHM-IDENTIFIER ::= {
{ OID id-pSpecified PARAMETERS OCTET STRING },
... -- Allows for future expansion --
}
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public static final AlgorithmIdentifier DEFAULT_HASH_ALGORITHM
public static final AlgorithmIdentifier DEFAULT_MASK_GEN_FUNCTION
public static final AlgorithmIdentifier DEFAULT_P_SOURCE_ALGORITHM
public RSAESOAEPparams()
public RSAESOAEPparams(AlgorithmIdentifier hashAlgorithm, AlgorithmIdentifier maskGenAlgorithm, AlgorithmIdentifier pSourceAlgorithm)
public RSAESOAEPparams(ASN1Sequence seq)
public static RSAESOAEPparams getInstance(Object obj)
public AlgorithmIdentifier getHashAlgorithm()
public AlgorithmIdentifier getMaskGenAlgorithm()
public AlgorithmIdentifier getPSourceAlgorithm()
public DERObject toASN1Object()
RSAES-OAEP-params ::= SEQUENCE { hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1, maskGenAlgorithm [1] PKCS1MGFAlgorithms DEFAULT mgf1SHA1, pSourceAlgorithm [2] PKCS1PSourceAlgorithms DEFAULT pSpecifiedEmpty } OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER ::= { { OID id-sha1 PARAMETERS NULL }| { OID id-sha256 PARAMETERS NULL }| { OID id-sha384 PARAMETERS NULL }| { OID id-sha512 PARAMETERS NULL }, ... -- Allows for future expansion -- } PKCS1MGFAlgorithms ALGORITHM-IDENTIFIER ::= { { OID id-mgf1 PARAMETERS OAEP-PSSDigestAlgorithms }, ... -- Allows for future expansion -- } PKCS1PSourceAlgorithms ALGORITHM-IDENTIFIER ::= { { OID id-pSpecified PARAMETERS OCTET STRING }, ... -- Allows for future expansion -- }
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.