Java.Security.Signature Members

The members of Java.Security.Signature are listed below.

See Also: Inherited members from Java.Security.SignatureSpi

Protected Constructors

Constructs a new instance of Signature with the name of the algorithm to use.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Fields

const
UninitializedSignatureState (0). Constant that indicates that this Signature instance has not yet been initialized.

Public Properties

[read-only]
Algorithmstring. Returns the name of the algorithm of this Signature.
[read-only]
ParametersAlgorithmParameters. Returns the AlgorithmParameters of this Java.Security.Signature instance.
[read-only]
ProviderProvider. Returns the provider associated with this Signature.

Protected Properties

StateSignatureState. Represents the current state of this Signature.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.