Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.spec
Class RawEncodedKeySpec

java.lang.Object
  |
  +--java.security.spec.EncodedKeySpec
        |
        +--org.bouncycastle.jcajce.spec.RawEncodedKeySpec
All Implemented Interfaces:
java.security.spec.KeySpec

public class RawEncodedKeySpec
extends java.security.spec.EncodedKeySpec

An encoded key spec that just wraps the minimal data for a public/private key representation.


Constructor Summary
RawEncodedKeySpec(byte[] bytes)
          Base constructor - just the minimal data.
 
Method Summary
 java.lang.String getFormat()
           
 
Methods inherited from class java.security.spec.EncodedKeySpec
getEncoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawEncodedKeySpec

public RawEncodedKeySpec(byte[] bytes)
Base constructor - just the minimal data.
Parameters:
bytes - the public/private key data.
Method Detail

getFormat

public java.lang.String getFormat()
Overrides:
getFormat in class java.security.spec.EncodedKeySpec

Bouncy Castle Cryptography Library 1.77.0