Share via


X509CertSelector.SubjectPublicKeyAlgID Property

Definition

Returns the subjectPublicKeyAlgID criterion. -or- Sets the subjectPublicKeyAlgID criterion.

public virtual string? SubjectPublicKeyAlgID { [Android.Runtime.Register("getSubjectPublicKeyAlgID", "()Ljava/lang/String;", "GetGetSubjectPublicKeyAlgIDHandler")] get; [Android.Runtime.Register("setSubjectPublicKeyAlgID", "(Ljava/lang/String;)V", "GetSetSubjectPublicKeyAlgID_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getSubjectPublicKeyAlgID", "()Ljava/lang/String;", "GetGetSubjectPublicKeyAlgIDHandler")>]
[<set: Android.Runtime.Register("setSubjectPublicKeyAlgID", "(Ljava/lang/String;)V", "GetSetSubjectPublicKeyAlgID_Ljava_lang_String_Handler")>]
member this.SubjectPublicKeyAlgID : string with get, set

Property Value

the object identifier (OID) of the signature algorithm to check for (or null). An OID is represented by a set of nonnegative integers separated by periods.

Attributes

Exceptions

if the specified object identifier is invalid.

Remarks

Property getter documentation:

Returns the subjectPublicKeyAlgID criterion. The X509Certificate must contain a subject public key with the specified algorithm. If null, no subjectPublicKeyAlgID check will be done.

Java documentation for java.security.cert.X509CertSelector.getSubjectPublicKeyAlgID().

Property setter documentation:

Sets the subjectPublicKeyAlgID criterion. The X509Certificate must contain a subject public key with the specified algorithm. If null, no subjectPublicKeyAlgID check will be done.

Java documentation for java.security.cert.X509CertSelector.setSubjectPublicKeyAlgID(java.lang.String).

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.

Applies to