org.bouncycastle.jce.spec.OpenSSHPublicKeySpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk15to18 Show documentation
Show all versions of bcprov-jdk15to18 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.
package org.bouncycastle.jce.spec;
/**
* Holds an OpenSSH encoded public key.
* @deprecated use org.bouncycastle.jcajce.spec.OpenSSHPublicKeySpec
*/
public class OpenSSHPublicKeySpec
extends org.bouncycastle.jcajce.spec.OpenSSHPublicKeySpec
{
/**
* 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.
*
* @param encodedKey
*/
public OpenSSHPublicKeySpec(byte[] encodedKey)
{
super(encodedKey);
}
}