Class Ed25519PrivateKeyParameters

    • Constructor Detail

      • Ed25519PrivateKeyParameters

        public Ed25519PrivateKeyParameters​(java.security.SecureRandom random)
      • Ed25519PrivateKeyParameters

        public Ed25519PrivateKeyParameters​(byte[] buf,
                                           int off)
      • Ed25519PrivateKeyParameters

        public Ed25519PrivateKeyParameters​(java.io.InputStream input)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • encode

        public void encode​(byte[] buf,
                           int off)
      • getEncoded

        public byte[] getEncoded()
      • sign

        public void sign​(int algorithm,
                         Ed25519PublicKeyParameters publicKey,
                         byte[] ctx,
                         byte[] msg,
                         int msgOff,
                         int msgLen,
                         byte[] sig,
                         int sigOff)
        Deprecated.
        use overload that doesn't take a public key
      • sign

        public void sign​(int algorithm,
                         byte[] ctx,
                         byte[] msg,
                         int msgOff,
                         int msgLen,
                         byte[] sig,
                         int sigOff)