Bouncy Castle Cryptography Library 1.65

org.bouncycastle.jce.spec
Class OpenSSHPublicKeySpec

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

Deprecated. use org.bouncycastle.jcajce.spec.OpenSSHPublicKeySpec

public class OpenSSHPublicKeySpec
extends OpenSSHPublicKeySpec

Holds an OpenSSH encoded public key.


Constructor Summary
OpenSSHPublicKeySpec(byte[] encodedKey)
          Deprecated. Construct and instance and determine the OpenSSH public key type.
 
Methods inherited from class org.bouncycastle.jcajce.spec.OpenSSHPublicKeySpec
getFormat, getType
 
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

OpenSSHPublicKeySpec

public OpenSSHPublicKeySpec(byte[] encodedKey)
Deprecated. 
Construct and instance and determine the OpenSSH public key type. The current types are ssh-rsa, ssh-ed25519, ssh-dss and ecdsa-*

It does not validate the key beyond identifying the type.

Parameters:
encodedKey -  

Bouncy Castle Cryptography Library 1.65