Interface SignatureVerification

    • Method Detail

      • checkSignature

        boolean checkSignature​(X509Certificate attestationCertificate,
                               byte[] signedBytes,
                               byte[] signature)
                        throws io.jans.as.model.exception.SignatureException
        Throws:
        io.jans.as.model.exception.SignatureException
      • checkSignature

        boolean checkSignature​(PublicKey publicKey,
                               byte[] signedBytes,
                               byte[] signature)
                        throws io.jans.as.model.exception.SignatureException
        Throws:
        io.jans.as.model.exception.SignatureException
      • decodePublicKey

        PublicKey decodePublicKey​(byte[] encodedPublicKey)
                           throws io.jans.as.model.exception.SignatureException
        Throws:
        io.jans.as.model.exception.SignatureException
      • hash

        byte[] hash​(byte[] bytes)
      • hash

        byte[] hash​(String str)