Class Verify.Request

    • Method Detail

      • signature

        public Verify.Request signature​(Base64Value signature)
        The base64-encoded binary data object denoting the cryptographic signature generated for the message.
        Parameters:
        signature - signature to verify
        Returns:
        updated request
      • keyId

        public Verify.Request keyId​(String keyOcid)
        The OCID of the key to sign with. Required.
        Parameters:
        keyOcid - OCID of the key
        Returns:
        updated request
      • algorithm

        public Verify.Request algorithm​(String algorithm)
        The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. Required. See algorithm constants on Sign.Request class.
        Parameters:
        algorithm - algorithm to use
        Returns:
        updated request
      • keyVersionId

        public Verify.Request keyVersionId​(String versionOcid)
        The OCID of the key version used to sing the message. Optional.
        Parameters:
        versionOcid - OCID of the key version
        Returns:
        updated request