Class RSASSAPSSparams
- 
                    
                    
- All Implemented Interfaces:
 - 
                            
                            
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable,io.anyline.nfc.bouncycastle.util.Encodable 
public class RSASSAPSSparams extends ASN1Object
 
- 
                
                    
                    
- 
                                
                            
                                
Field Summary
Fields Modifier and Type Field Description public AlgorithmIdentifierhashAlgorithmpublic AlgorithmIdentifiermaskGenAlgorithmpublic final static AlgorithmIdentifierDEFAULT_HASH_ALGORITHMpublic final static AlgorithmIdentifierDEFAULT_MASK_GEN_FUNCTIONpublic final static ASN1IntegerDEFAULT_SALT_LENGTHpublic final static ASN1IntegerDEFAULT_TRAILER_FIELD 
- 
                                
                            
                                
Constructor Summary
Constructors Constructor Description RSASSAPSSparams()The default version RSASSAPSSparams(AlgorithmIdentifier hashAlgorithm, AlgorithmIdentifier maskGenAlgorithm, ASN1Integer saltLength, ASN1Integer trailerField) 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description AlgorithmIdentifiergetHashAlgorithm()AlgorithmIdentifiergetMaskGenAlgorithm()static RSASSAPSSparamsgetInstance(Object obj)BigIntegergetSaltLength()BigIntegergetTrailerField()ASN1PrimitivetoASN1Primitive()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) }- 
                    
                    
                    
- 
                                
                            
                                
Constructor Detail
- 
                                        
RSASSAPSSparams
RSASSAPSSparams()
The default version 
- 
                                        
RSASSAPSSparams
RSASSAPSSparams(AlgorithmIdentifier hashAlgorithm, AlgorithmIdentifier maskGenAlgorithm, ASN1Integer saltLength, ASN1Integer trailerField)
 
 - 
                                        
 
- 
                                
                            
                                
Method Detail
- 
                                        
getHashAlgorithm
AlgorithmIdentifier getHashAlgorithm()
 
- 
                                        
getMaskGenAlgorithm
AlgorithmIdentifier getMaskGenAlgorithm()
 
- 
                                        
getInstance
static RSASSAPSSparams getInstance(Object obj)
 
- 
                                        
getSaltLength
BigInteger getSaltLength()
 
- 
                                        
getTrailerField
BigInteger getTrailerField()
 
- 
                                        
toASN1Primitive
ASN1Primitive toASN1Primitive()
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) }- Returns:
 the asn1 primitive representing the parameters.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -