Udostępnij za pośrednictwem


X509CertSelector.SerialNumber Property

Definition

Returns the serialNumber criterion. -or- Sets the serialNumber criterion.

public virtual Java.Math.BigInteger? SerialNumber { [Android.Runtime.Register("getSerialNumber", "()Ljava/math/BigInteger;", "GetGetSerialNumberHandler")] get; [Android.Runtime.Register("setSerialNumber", "(Ljava/math/BigInteger;)V", "GetSetSerialNumber_Ljava_math_BigInteger_Handler")] set; }
[<get: Android.Runtime.Register("getSerialNumber", "()Ljava/math/BigInteger;", "GetGetSerialNumberHandler")>]
[<set: Android.Runtime.Register("setSerialNumber", "(Ljava/math/BigInteger;)V", "GetSetSerialNumber_Ljava_math_BigInteger_Handler")>]
member this.SerialNumber : Java.Math.BigInteger with get, set

Property Value

the certificate serial number to match (or null)

Attributes

Remarks

Property getter documentation:

Returns the serialNumber criterion. The specified serial number must match the certificate serial number in the X509Certificate. If null, any certificate serial number will do.

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

Property setter documentation:

Sets the serialNumber criterion. The specified serial number must match the certificate serial number in the X509Certificate. If null, any certificate serial number will do.

Java documentation for java.security.cert.X509CertSelector.setSerialNumber(java.math.BigInteger).

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