Class SignedData.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.SignedData.Builder
 
- 
- Enclosing class:
- SignedData
 
 public static class SignedData.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SignedDatabuild()SignedData.Buildercopy(SignedData model)SignedData.BuilderkeyId(String keyId)The OCID of the key used to sign the message.SignedData.BuilderkeyVersionId(String keyVersionId)The OCID of the key version used to sign the message.SignedData.Buildersignature(String signature)The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest.SignedData.BuildersigningAlgorithm(SignedData.SigningAlgorithm signingAlgorithm)The algorithm to use to sign the message or message digest.
 
- 
- 
- 
Method Detail- 
keyIdpublic SignedData.Builder keyId(String keyId) The OCID of the key used to sign the message.- Parameters:
- keyId- the value to set
- Returns:
- this builder
 
 - 
keyVersionIdpublic SignedData.Builder keyVersionId(String keyVersionId) The OCID of the key version used to sign the message.- Parameters:
- keyVersionId- the value to set
- Returns:
- this builder
 
 - 
signaturepublic SignedData.Builder signature(String signature) The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest.- Parameters:
- signature- the value to set
- Returns:
- this builder
 
 - 
signingAlgorithmpublic SignedData.Builder signingAlgorithm(SignedData.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. - Parameters:
- signingAlgorithm- the value to set
- Returns:
- this builder
 
 - 
buildpublic SignedData build() 
 - 
copypublic SignedData.Builder copy(SignedData model) 
 
- 
 
-