Bouncy Castle Cryptography Library 1.59

org.bouncycastle.operator
Class GenericKey

java.lang.Object
  extended byorg.bouncycastle.operator.GenericKey
Direct Known Subclasses:
JceGenericKey

public class GenericKey
extends java.lang.Object


Constructor Summary
  GenericKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier, byte[] representation)
           
protected GenericKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier, java.lang.Object representation)
           
  GenericKey(java.lang.Object representation)
          Deprecated. provide an AlgorithmIdentifier.
 
Method Summary
 org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
           
 java.lang.Object getRepresentation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericKey

public GenericKey(java.lang.Object representation)
Deprecated. provide an AlgorithmIdentifier.

Parameters:
representation - key data

GenericKey

public GenericKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
                  byte[] representation)

GenericKey

protected GenericKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
                     java.lang.Object representation)
Method Detail

getAlgorithmIdentifier

public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()

getRepresentation

public java.lang.Object getRepresentation()

Bouncy Castle Cryptography Library 1.59