PKIXParameters.TrustAnchors 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 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 TrustAnchor
s
(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.
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.