Class SHA256withECDSASignatureVerification

    • Constructor Detail

      • SHA256withECDSASignatureVerification

        public SHA256withECDSASignatureVerification()
    • Method Detail

      • checkSignature

        public boolean checkSignature​(X509Certificate certificate,
                                      byte[] signedBytes,
                                      byte[] signature)
                               throws io.jans.as.model.exception.SignatureException
        Specified by:
        checkSignature in interface SignatureVerification
        Throws:
        io.jans.as.model.exception.SignatureException
      • checkSignature

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

        public PublicKey decodePublicKey​(byte[] encodedPublicKey)
                                  throws io.jans.as.model.exception.SignatureException
        Specified by:
        decodePublicKey in interface SignatureVerification
        Throws:
        io.jans.as.model.exception.SignatureException