GenericKey (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.operator

## Class GenericKey

- java.lang.Object
- - org.bouncycastle.operator.GenericKey

- Direct Known Subclasses:
    JceGenericKey

      public class GenericKey
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `` | `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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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()