Top Constructors Methods
org.bouncycastle.operator.jcajce

public Class JceGenericKey

extends GenericKey
Class Inheritance
Imports
java.security.Key, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.operator.GenericKey

Constructor Summary

AccessConstructor and Description
public
JceGenericKey(AlgorithmIdentifier algorithmIdentifier, Key representation)

Method Summary

Modifier and TypeMethod and Description
private static Object

Returns:

the byte encoding if one exists, key object otherwise.
getRepresentation
(Key
a provider based key
key
)

Attempt to simplify the key representation if possible.

Inherited from org.bouncycastle.operator.GenericKey:
getAlgorithmIdentifiergetRepresentation

Constructor Detail

JceGenericKeyback to summary
public JceGenericKey(AlgorithmIdentifier algorithmIdentifier, Key representation)

Method Detail

getRepresentationback to summary
private static Object getRepresentation(Key key)

Attempt to simplify the key representation if possible.

Parameters
key:Key

a provider based key

Returns:Object

the byte encoding if one exists, key object otherwise.