Class EdDSAPublicKeySpec

  • All Implemented Interfaces:
    java.security.spec.KeySpec

    public class EdDSAPublicKeySpec
    extends java.lang.Object
    implements java.security.spec.KeySpec
    Author:
    str4d
    • Constructor Detail

      • EdDSAPublicKeySpec

        public EdDSAPublicKeySpec​(byte[] pk,
                                  EdDSAParameterSpec spec)
        Parameters:
        pk - the public key
        spec - the parameter specification for this key
        Throws:
        java.lang.IllegalArgumentException - if key length is wrong