PKIXParameters.TrustAnchors Property

Definition

Returns an immutable Set of the most-trusted CAs. -or- Sets the Set of most-trusted CAs.

public virtual System.Collections.Generic.ICollection<Java.Security.Cert.TrustAnchor>? TrustAnchors { [Android.Runtime.Register("getTrustAnchors", "()Ljava/util/Set;", "GetGetTrustAnchorsHandler")] get; [Android.Runtime.Register("setTrustAnchors", "(Ljava/util/Set;)V", "GetSetTrustAnchors_Ljava_util_Set_Handler")] set; }
[<get: Android.Runtime.Register("getTrustAnchors", "()Ljava/util/Set;", "GetGetTrustAnchorsHandler")>]
[<set: Android.Runtime.Register("setTrustAnchors", "(Ljava/util/Set;)V", "GetSetTrustAnchors_Ljava_util_Set_Handler")>]
member this.TrustAnchors : System.Collections.Generic.ICollection<Java.Security.Cert.TrustAnchor> with get, set

Property Value

an immutable Set of TrustAnchors (never null)

Attributes

Remarks

Property getter documentation:

Returns an immutable Set of the most-trusted CAs.

Java documentation for java.security.cert.PKIXParameters.getTrustAnchors().

Property setter documentation:

Sets the Set of most-trusted CAs.

Note that the Set is copied to protect against subsequent modifications.

Java documentation for java.security.cert.PKIXParameters.setTrustAnchors(java.util.Set<java.security.cert.TrustAnchor>).

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