Class SignatureSigner
Implements
Inherited Members
Namespace: Oci.Common.Http.Signing
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public class SignatureSigner : ISignatureSigner
Methods
sign(RsaKeyParameters, byte[])
Sign the given message using the given private keys
Declaration
public byte[] sign(RsaKeyParameters privateKey, byte[] message)
Parameters
| Type | Name | Description |
|---|---|---|
| RsaKeyParameters | privateKey | The private key to use to sign the message |
| byte[] | message | The message to sign, must not be null or empty |
Returns
| Type | Description |
|---|---|
| byte[] | An RSA signature of the message made using given private key |