SignedObject(ISerializable, IPrivateKey, Signature) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a SignedObject from any Serializable object.
[Android.Runtime.Register(".ctor", "(Ljava/io/Serializable;Ljava/security/PrivateKey;Ljava/security/Signature;)V", "")]
public SignedObject (Java.IO.ISerializable? object, Java.Security.IPrivateKey? signingKey, Java.Security.Signature? signingEngine);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Serializable;Ljava/security/PrivateKey;Ljava/security/Signature;)V", "")>]
new Java.Security.SignedObject : Java.IO.ISerializable * Java.Security.IPrivateKey * Java.Security.Signature -> Java.Security.SignedObject
Parameters
- object
- ISerializable
the object to be signed.
- signingKey
- IPrivateKey
the private key for signing.
- signingEngine
- Signature
the signature signing engine.
- Attributes
Exceptions
if a serialization error occurs.
if the private key is not valid.
if signature generation failed.
Remarks
Constructs a SignedObject from any Serializable object. The given object is signed with the given signing key, using the designated signature engine.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.