CertPathValidatorException.Index Property
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.
Returns the index of the certificate in the certification path that caused the exception to be thrown.
public virtual int Index { [Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler")] get; }
[<get: Android.Runtime.Register("getIndex", "()I", "GetGetIndexHandler")>]
member this.Index : int
Property Value
the index that has been set, or -1 if none has been set
- Attributes
Remarks
Returns the index of the certificate in the certification path that caused the exception to be thrown. Note that the list of certificates in a CertPath
is zero based. If no index has been set, -1 is returned.
Java documentation for java.security.cert.CertPathValidatorException.getIndex()
.
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.