Top Inners Fields Constructors Methods
org.bouncycastle.cert.crmf.jcajce

pack-priv Class CRMFHelper

extends Object
Class Inheritance
Imports
java.io.IOException, java.security.AlgorithmParameterGenerator, .AlgorithmParameters, .GeneralSecurityException, .InvalidAlgorithmParameterException, .InvalidKeyException, .Key, .KeyFactory, .MessageDigest, .NoSuchAlgorithmException, .NoSuchProviderException, .PublicKey, .SecureRandom, java.security.spec.InvalidParameterSpecException, .X509EncodedKeySpec, java.util.HashMap, .Map, javax.crypto.Cipher, .KeyGenerator, .Mac, .NoSuchPaddingException, .SecretKey, javax.crypto.spec.IvParameterSpec, .RC2ParameterSpec, org.bouncycastle.asn1.ASN1Encodable, .ASN1Null, .ASN1ObjectIdentifier, .ASN1OctetString, .ASN1Primitive, .DERNull, org.bouncycastle.asn1.iana.IANAObjectIdentifiers, org.bouncycastle.asn1.nist.NISTObjectIdentifiers, org.bouncycastle.asn1.oiw.OIWObjectIdentifiers, org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, .SubjectPublicKeyInfo, org.bouncycastle.asn1.x9.X9ObjectIdentifiers, org.bouncycastle.cert.crmf.CRMFException, org.bouncycastle.cms.CMSAlgorithm, org.bouncycastle.jcajce.util.AlgorithmParametersUtils, .JcaJceHelper

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static interface

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv AlgorithmParameterGenerator
pack-priv AlgorithmParameters
pack-priv Cipher
pack-priv Cipher
createContentCipher(final Key sKey, final AlgorithmIdentifier encryptionAlgID)

pack-priv MessageDigest
pack-priv KeyFactory
public KeyGenerator
pack-priv Mac
pack-priv static Object
pack-priv AlgorithmParameters
pack-priv AlgorithmIdentifier
pack-priv PublicKey
toPublicKey(SubjectPublicKeyInfo subjectPublicKeyInfo)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BASE_CIPHER_NAMESback to summary
protected static final Map<K, V> BASE_CIPHER_NAMES
CIPHER_ALG_NAMESback to summary
protected static final Map<K, V> CIPHER_ALG_NAMES
DIGEST_ALG_NAMESback to summary
protected static final Map<K, V> DIGEST_ALG_NAMES
helperback to summary
private JcaJceHelper helper
KEY_ALG_NAMESback to summary
protected static final Map<K, V> KEY_ALG_NAMES
MAC_ALG_NAMESback to summary
protected static final Map<K, V> MAC_ALG_NAMES

Constructor Detail

CRMFHelperback to summary
pack-priv CRMFHelper(JcaJceHelper helper)

Method Detail

createAlgorithmParameterGeneratorback to summary
pack-priv AlgorithmParameterGenerator createAlgorithmParameterGenerator(ASN1ObjectIdentifier algorithm) throws GeneralSecurityException
createAlgorithmParametersback to summary
pack-priv AlgorithmParameters createAlgorithmParameters(ASN1ObjectIdentifier algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
createCipherback to summary
pack-priv Cipher createCipher(ASN1ObjectIdentifier algorithm) throws CRMFException
createContentCipherback to summary
pack-priv Cipher createContentCipher(final Key sKey, final AlgorithmIdentifier encryptionAlgID) throws CRMFException
createDigestback to summary
pack-priv MessageDigest createDigest(ASN1ObjectIdentifier algorithm) throws CRMFException
createKeyFactoryback to summary
pack-priv KeyFactory createKeyFactory(ASN1ObjectIdentifier algorithm) throws CRMFException
createKeyGeneratorback to summary
public KeyGenerator createKeyGenerator(ASN1ObjectIdentifier algorithm) throws CRMFException
createMacback to summary
pack-priv Mac createMac(ASN1ObjectIdentifier algorithm) throws CRMFException
executeback to summary
pack-priv static Object execute(CRMFHelper.JCECallback callback) throws CRMFException
generateParametersback to summary
pack-priv AlgorithmParameters generateParameters(ASN1ObjectIdentifier encryptionOID, SecretKey encKey, SecureRandom rand) throws CRMFException
getAlgorithmIdentifierback to summary
pack-priv AlgorithmIdentifier getAlgorithmIdentifier(ASN1ObjectIdentifier encryptionOID, AlgorithmParameters params) throws CRMFException
toPublicKeyback to summary
pack-priv PublicKey toPublicKey(SubjectPublicKeyInfo subjectPublicKeyInfo) throws CRMFException
org.bouncycastle.cert.crmf.jcajce back to summary

pack-priv Interface CRMFHelper.JCECallback


Method Summary

Modifier and TypeMethod and Description
public Object

Method Detail

doInJCEback to summary
public Object doInJCE() throws CRMFException, InvalidAlgorithmParameterException, InvalidKeyException, InvalidParameterSpecException, NoSuchAlgorithmException, NoSuchPaddingException, NoSuchProviderException