Android Guides | Samples

Java.Security.SignedObject Class

A SignedObject instance acts as a container for another object.

See Also: SignedObject

Syntax

[Android.Runtime.Register("java/security/SignedObject", DoNotGenerateAcw=true)]
public sealed class SignedObject : Object, ISerializable, IDisposable

Remarks

A SignedObject instance acts as a container for another object. The SignedObject contains the target in serialized form along with a digital signature of the serialized data.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

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

See Also: Object

Public Constructors

Constructs a new instance of SignedObject with the target object, the private key and the engine to compute the signature.

Public Properties

[read-only]
AlgorithmString. Returns the name of the algorithm of this SignedObject.
[read-only]
ObjectObject. Returns the encapsulated object.

Protected Properties

[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

GetSignature() : Byte[]
Returns the signature data of the encapsulated serialized object.
Verify(IPublicKey, Signature) : Boolean
Indicates whether the contained signature for the encapsulated object is valid.