SignedObject.Verify(IPublicKey, Signature) Method
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.
Verifies that the signature in this SignedObject is the valid signature for the object stored inside, with the given verification key, using the designated verification engine.
[Android.Runtime.Register("verify", "(Ljava/security/PublicKey;Ljava/security/Signature;)Z", "")]
public bool Verify (Java.Security.IPublicKey? verificationKey, Java.Security.Signature? verificationEngine);
[<Android.Runtime.Register("verify", "(Ljava/security/PublicKey;Ljava/security/Signature;)Z", "")>]
member this.Verify : Java.Security.IPublicKey * Java.Security.Signature -> bool
Parameters
- verificationKey
- IPublicKey
the public key for verification.
- verificationEngine
- Signature
the signature verification engine.
Returns
true
if the signature
is valid, false
otherwise
- Attributes
Exceptions
if the public key is invalid.
if signature verification failed.
Remarks
Verifies that the signature in this SignedObject is the valid signature for the object stored inside, with the given verification key, using the designated verification 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.