Top Fields Constructors Methods
org.bouncycastle.cms.bc

pack-priv Class EnvelopedDataHelper

extends Object
Class Inheritance
Imports
java.security.SecureRandom, java.util.Collections, .HashMap, .HashSet, .Map, .Set, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.nist.NISTObjectIdentifiers, org.bouncycastle.asn1.oiw.OIWObjectIdentifiers, org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.cms.CMSAlgorithm, .CMSException, org.bouncycastle.crypto.CipherKeyGenerator, .CipherParameters, .ExtendedDigest, .Wrapper, org.bouncycastle.crypto.digests.SHA1Digest, .SHA224Digest, .SHA256Digest, .SHA384Digest, .SHA512Digest, org.bouncycastle.crypto.engines.AESEngine, .DESEngine, .DESedeEngine, .RC2Engine, .RFC3211WrapEngine, org.bouncycastle.crypto.params.KeyParameter, org.bouncycastle.crypto.util.AlgorithmIdentifierFactory, .CipherFactory, .CipherKeyGeneratorFactory, org.bouncycastle.operator.OperatorCreationException, org.bouncycastle.operator.bc.BcDigestProvider

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static Object
createContentCipher(boolean forEncryption, CipherParameters encKey, AlgorithmIdentifier encryptionAlgID)

pack-priv CipherKeyGenerator
createKeyGenerator(ASN1ObjectIdentifier algorithm, int keySize, SecureRandom random)

pack-priv static Wrapper
private static Map<K, V>
pack-priv AlgorithmIdentifier
pack-priv static ExtendedDigest
pack-priv boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

authEnvelopedAlgorithmsback to summary
private static final Set<E> authEnvelopedAlgorithms
BASE_CIPHER_NAMESback to summary
protected static final Map<K, V> BASE_CIPHER_NAMES
MAC_ALG_NAMESback to summary
protected static final Map<K, V> MAC_ALG_NAMES
prfsback to summary
private static final Map<K, V> prfs

Constructor Detail

EnvelopedDataHelperback to summary
pack-priv EnvelopedDataHelper()

Method Detail

createContentCipherback to summary
pack-priv static Object createContentCipher(boolean forEncryption, CipherParameters encKey, AlgorithmIdentifier encryptionAlgID) throws CMSException
createKeyGeneratorback to summary
pack-priv CipherKeyGenerator createKeyGenerator(ASN1ObjectIdentifier algorithm, int keySize, SecureRandom random) throws CMSException
createRFC3211Wrapperback to summary
pack-priv static Wrapper createRFC3211Wrapper(ASN1ObjectIdentifier algorithm) throws CMSException
createTableback to summary
private static Map<K, V> createTable()
generateEncryptionAlgIDback to summary
pack-priv AlgorithmIdentifier generateEncryptionAlgID(ASN1ObjectIdentifier encryptionOID, KeyParameter encKey, SecureRandom random) throws CMSException
getPRFback to summary
pack-priv static ExtendedDigest getPRF(AlgorithmIdentifier algID) throws OperatorCreationException
isAuthEnvelopedback to summary
pack-priv boolean isAuthEnveloped(ASN1ObjectIdentifier algorithm)