Java.Security.Signature: Method Members

The methods of Java.Security.Signature are listed below. For a list of all members, see the Signature Members list.

See Also: Inherited members from Java.Security.SignatureSpi

Public Methods

static
GetInstance(string) : Signature
Returns a new instance of Signature that utilizes the specified algorithm.
static
GetInstance(string, Provider) : Signature
Returns a new instance of Signature that utilizes the specified algorithm from the specified provider.
static
GetInstance(string, string) : Signature
Returns a new instance of Signature that utilizes the specified algorithm from the specified provider.
GetParameter(string) : Java.Lang.Object
Returns the value of the parameter with the specified name.
InitSign(IPrivateKey)
Initializes this Signature instance for signing, using the private key of the identity whose signature is going to be generated.
InitSign(IPrivateKey, SecureRandom)
Initializes this Signature instance for signing, using the private key of the identity whose signature is going to be generated and the specified source of randomness.
InitVerify(Java.Security.Cert.Certificate)
Initializes this Signature instance for signature verification, using the certificate of the identity whose signature is going to be verified.
InitVerify(IPublicKey)
Initializes this Signature instance for signature verification, using the public key of the identity whose signature is going to be verified.
SetParameter(Java.Security.Spec.IAlgorithmParameterSpec)
Sets the specified AlgorithmParameterSpec.
SetParameter(string, Java.Lang.Object)
Sets the specified parameter to the given value.
Sign() : byte[]
Generates and returns the signature of all updated data.
Sign(byte[], int, int) : int
Generates and stores the signature of all updated data in the provided byte[] at the specified position with the specified length.
Update(Java.Nio.ByteBuffer)
Updates the data to be verified or to be signed, using the specified ByteBuffer.
Update(byte[])
Updates the data to be verified or to be signed, using the specified byte[].
Update(sbyte)
Updates the data to be verified or to be signed, using the specified byte.
Update(byte[], int, int)
Updates the data to be verified or to be signed, using the given byte[], starting form the specified index for the specified length.
Verify(byte[]) : bool
Indicates whether the given signature can be verified using the public key or a certificate of the signer.
Verify(byte[], int, int) : bool
Indicates whether the given signature starting at index offset with length bytes can be verified using the public key or a certificate of the signer.