Class OpenSSHPublicKeySpec

  • All Implemented Interfaces:
    KeySpec

    public class OpenSSHPublicKeySpec
    extends OpenSSHPublicKeySpec
    Deprecated.
    use org.bouncycastle.jcajce.spec.OpenSSHPublicKeySpec
    Holds an OpenSSH encoded public key.
    • 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 -