Class JcaV1PublicCryptoProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] sign​(byte[] payload, byte[] footer, java.security.PrivateKey privateKey)  
      boolean verify​(byte[] message, byte[] footer, byte[] signature, java.security.PublicKey publicKey)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JcaV1PublicCryptoProvider

        public JcaV1PublicCryptoProvider()
    • Method Detail

      • sign

        public byte[] sign​(byte[] payload,
                           byte[] footer,
                           java.security.PrivateKey privateKey)
        Specified by:
        sign in interface V1PublicCryptoProvider
      • verify

        public boolean verify​(byte[] message,
                              byte[] footer,
                              byte[] signature,
                              java.security.PublicKey publicKey)
        Specified by:
        verify in interface V1PublicCryptoProvider