Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace VerifyDataDetails

The details of the message that you want to verify.

Properties

keyId

keyId: string

The OCID of the key used to sign the message.

keyVersionId

keyVersionId: string

The OCID of the key version used to sign the message.

message

message: string

The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest.

Optional messageType

messageType: MessageType

Denotes whether the value of the message parameter is a raw message or a message digest. The default value, {@code RAW}, indicates a message. To indicate a message digest, use {@code DIGEST}.

signature

signature: string

The base64-encoded binary data object denoting the cryptographic signature generated for the message.

signingAlgorithm

signingAlgorithm: SigningAlgorithm

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.

Functions

getDeserializedJsonObj

getJsonObj