Top Fields Constructors Methods
org.bouncycastle.cms

public Class DefaultCMSSignatureEncryptionAlgorithmFinder

extends Object
implements CMSSignatureEncryptionAlgorithmFinder
Class Inheritance
All Implemented Interfaces
org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder
Imports
java.util.HashMap, .HashSet, .Map, .Set, org.bouncycastle.asn1.DERNull, org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers, org.bouncycastle.asn1.oiw.OIWObjectIdentifiers, org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers, org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier

Field Summary

Modifier and TypeField and Description
protected static final Map<K, V>
protected static final Set<E>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AlgorithmIdentifier
findEncryptionAlgorithm(AlgorithmIdentifier
the algorithm identifier of the signature of interest
signatureAlgorithm
)

Implements org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder.findEncryptionAlgorithm.

Return the encryption algorithm identifier associated with the passed in signatureAlgorithm

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GOST_ENCback to summary
protected static final Map<K, V> GOST_ENC
RSA_PKCS1d5back to summary
protected static final Set<E> RSA_PKCS1d5

Constructor Detail

DefaultCMSSignatureEncryptionAlgorithmFinderback to summary
public DefaultCMSSignatureEncryptionAlgorithmFinder()

Method Detail

findEncryptionAlgorithmback to summary
public AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm)

Implements org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder.findEncryptionAlgorithm.

Doc from org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder.findEncryptionAlgorithm.

Return the encryption algorithm identifier associated with the passed in signatureAlgorithm

Parameters
signatureAlgorithm:AlgorithmIdentifier

the algorithm identifier of the signature of interest

Returns:AlgorithmIdentifier

the algorithm identifier to be associated with the encryption algorithm used in signature creation.