Class WolfCryptSignature

java.lang.Object
java.security.SignatureSpi
com.wolfssl.provider.jce.WolfCryptSignature
Direct Known Subclasses:
WolfCryptSignature.wcMD5wRSA, WolfCryptSignature.wcSHA1wECDSA, WolfCryptSignature.wcSHA1wRSA, WolfCryptSignature.wcSHA256wECDSA, WolfCryptSignature.wcSHA256wRSA, WolfCryptSignature.wcSHA384wECDSA, WolfCryptSignature.wcSHA384wRSA, WolfCryptSignature.wcSHA512wECDSA, WolfCryptSignature.wcSHA512wRSA

public class WolfCryptSignature
extends java.security.SignatureSpi
wolfCrypt JCE Signature wrapper
Version:
1.0, March 2017
Author:
wolfSSL
  • Method Details

    • engineGetParameter

      @Deprecated protected java.lang.Object engineGetParameter​(java.lang.String param) throws java.security.InvalidParameterException
      Deprecated.
      Specified by:
      engineGetParameter in class java.security.SignatureSpi
      Throws:
      java.security.InvalidParameterException
    • engineInitSign

      protected void engineInitSign​(java.security.PrivateKey privateKey) throws java.security.InvalidKeyException
      Specified by:
      engineInitSign in class java.security.SignatureSpi
      Throws:
      java.security.InvalidKeyException
    • engineInitVerify

      protected void engineInitVerify​(java.security.PublicKey publicKey) throws java.security.InvalidKeyException
      Specified by:
      engineInitVerify in class java.security.SignatureSpi
      Throws:
      java.security.InvalidKeyException
    • engineSetParameter

      @Deprecated protected void engineSetParameter​(java.lang.String param, java.lang.Object value) throws java.security.InvalidParameterException
      Deprecated.
      Specified by:
      engineSetParameter in class java.security.SignatureSpi
      Throws:
      java.security.InvalidParameterException
    • engineSign

      protected byte[] engineSign() throws java.security.SignatureException
      Specified by:
      engineSign in class java.security.SignatureSpi
      Throws:
      java.security.SignatureException
    • engineUpdate

      protected void engineUpdate​(byte b) throws java.security.SignatureException
      Specified by:
      engineUpdate in class java.security.SignatureSpi
      Throws:
      java.security.SignatureException
    • engineUpdate

      protected void engineUpdate​(byte[] b, int off, int len) throws java.security.SignatureException
      Specified by:
      engineUpdate in class java.security.SignatureSpi
      Throws:
      java.security.SignatureException
    • engineVerify

      protected boolean engineVerify​(byte[] sigBytes) throws java.security.SignatureException
      Specified by:
      engineVerify in class java.security.SignatureSpi
      Throws:
      java.security.SignatureException
    • finalize

      protected void finalize() throws java.lang.Throwable
      Overrides:
      finalize in class java.lang.Object
      Throws:
      java.lang.Throwable