public class RSASSAPSSparams extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
static AlgorithmIdentifier |
DEFAULT_HASH_ALGORITHM |
static AlgorithmIdentifier |
DEFAULT_MASK_GEN_FUNCTION |
static DERInteger |
DEFAULT_SALT_LENGTH |
static DERInteger |
DEFAULT_TRAILER_FIELD |
BER, DER
Constructor and Description |
---|
RSASSAPSSparams()
The default version
|
RSASSAPSSparams(AlgorithmIdentifier hashAlgorithm,
AlgorithmIdentifier maskGenAlgorithm,
DERInteger saltLength,
DERInteger trailerField) |
RSASSAPSSparams(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getHashAlgorithm() |
static RSASSAPSSparams |
getInstance(Object obj) |
AlgorithmIdentifier |
getMaskGenAlgorithm() |
DERInteger |
getSaltLength() |
DERInteger |
getTrailerField() |
DERObject |
toASN1Object()
RSASSA-PSS-params ::= SEQUENCE {
hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1,
maskGenAlgorithm [1] PKCS1MGFAlgorithms DEFAULT mgf1SHA1,
saltLength [2] INTEGER DEFAULT 20,
trailerField [3] TrailerField DEFAULT trailerFieldBC
}
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 --
}
TrailerField ::= INTEGER { trailerFieldBC(1) }
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public static final AlgorithmIdentifier DEFAULT_HASH_ALGORITHM
public static final AlgorithmIdentifier DEFAULT_MASK_GEN_FUNCTION
public static final DERInteger DEFAULT_SALT_LENGTH
public static final DERInteger DEFAULT_TRAILER_FIELD
public RSASSAPSSparams()
public RSASSAPSSparams(AlgorithmIdentifier hashAlgorithm, AlgorithmIdentifier maskGenAlgorithm, DERInteger saltLength, DERInteger trailerField)
public RSASSAPSSparams(ASN1Sequence seq)
public static RSASSAPSSparams getInstance(Object obj)
public AlgorithmIdentifier getHashAlgorithm()
public AlgorithmIdentifier getMaskGenAlgorithm()
public DERInteger getSaltLength()
public DERInteger getTrailerField()
public DERObject toASN1Object()
RSASSA-PSS-params ::= SEQUENCE { hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1, maskGenAlgorithm [1] PKCS1MGFAlgorithms DEFAULT mgf1SHA1, saltLength [2] INTEGER DEFAULT 20, trailerField [3] TrailerField DEFAULT trailerFieldBC } 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 -- } TrailerField ::= INTEGER { trailerFieldBC(1) }
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.