PKIXParameters.TrustAnchors 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回最受信任的 CA 不可变 Set 。 - 或 - 设置 Set 最受信任的 CA。
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
属性值
不可变 Set 的 TrustAnchor(从不 null)
- 特性
注解
属性 getter 文档:
返回最受信任的 CA 不可变 Set 。
Java文档java.security.cert.PKIXParameters.getTrustAnchors()。
属性 setter 文档:
Set设置最受信任的 CA。
请注意, Set 复制该副本以防止后续修改。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。