Top Inners Fields Constructors Methods
org.bouncycastle.jcajce.provider.asymmetric

public Class COMPOSITE

extends Object
Class Inheritance
Imports
java.io.IOException, java.security.InvalidKeyException, .Key, .PrivateKey, .PublicKey, java.util.HashMap, .Map, org.bouncycastle.asn1.ASN1Sequence, org.bouncycastle.asn1.misc.MiscObjectIdentifiers, org.bouncycastle.asn1.pkcs.PrivateKeyInfo, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo, org.bouncycastle.jcajce.CompositePrivateKey, .CompositePublicKey, org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi, org.bouncycastle.jcajce.provider.config.ConfigurableProvider, org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider, .AsymmetricKeyInfoConverter

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
private static AsymmetricKeyInfoConverter
private static final Map<String, String>
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

baseConverterback to summary
private static AsymmetricKeyInfoConverter baseConverter
compositeAttributesback to summary
private static final Map<String, String> compositeAttributes
PREFIXback to summary
private static final String PREFIX

Constructor Detail

COMPOSITEback to summary
public COMPOSITE()
org.bouncycastle.jcajce.provider.asymmetric back to summary

private Class COMPOSITE.CompositeKeyInfoConverter

extends Object
implements AsymmetricKeyInfoConverter
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.jcajce.provider.asymmetric.COMPOSITE.CompositeKeyInfoConverter
All Implemented Interfaces
org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter

Field Summary

Modifier and TypeField and Description
private final ConfigurableProvider

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PrivateKey
public PublicKey
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

providerback to summary
private final ConfigurableProvider provider

Constructor Detail

CompositeKeyInfoConverterback to summary
public CompositeKeyInfoConverter(ConfigurableProvider provider)

Method Detail

generatePrivateback to summary
public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException

Implements org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter.generatePrivate.

generatePublicback to summary
public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException

Implements org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter.generatePublic.

org.bouncycastle.jcajce.provider.asymmetric back to summary

public Class COMPOSITE.KeyFactory

extends BaseKeyFactorySpi
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Key
engineTranslateKey(Key
the key whose provider is unknown or untrusted.
key
)

Implements abstract java.security.KeyFactorySpi.engineTranslateKey.

Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
public PrivateKey
public PublicKey
Inherited from org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi:
engineGeneratePrivateengineGeneratePublicengineGetKeySpec

Constructor Detail

KeyFactoryback to summary
public KeyFactory()

Method Detail

engineTranslateKeyback to summary
protected Key engineTranslateKey(Key key) throws InvalidKeyException

Implements abstract java.security.KeyFactorySpi.engineTranslateKey.

Doc from java.security.KeyFactorySpi.engineTranslateKey.

Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.

Parameters
key:Key

the key whose provider is unknown or untrusted.

Returns:Key

the translated key.

Exceptions
InvalidKeyException:
if the given key cannot be processed by this key factory.
generatePrivateback to summary
public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException

Implements org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter.generatePrivate.

generatePublicback to summary
public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException

Implements org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter.generatePublic.

org.bouncycastle.jcajce.provider.asymmetric back to summary

public Class COMPOSITE.Mappings

extends AsymmetricAlgorithmProvider
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider:
addCipherAlgorithmaddKeyFactoryAlgorithmaddKeyGeneratorAlgorithmaddKeyPairGeneratorAlgorithmaddSignatureAlgorithmaddSignatureAlgorithmaddSignatureAlgorithmaddSignatureAlgorithmaddSignatureAliasregisterKeyFactoryOidregisterOidregisterOidAlgorithmParameterGeneratorregisterOidAlgorithmParameters

Constructor Detail

Mappingsback to summary
public Mappings()

Method Detail

configureback to summary
public void configure(ConfigurableProvider provider)

Implements abstract org.bouncycastle.jcajce.provider.util.AlgorithmProvider.configure.