PKIXParameters Constructors
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.
Overloads
PKIXParameters(KeyStore) |
Creates an instance of |
PKIXParameters(ICollection<TrustAnchor>) |
Creates an instance of |
PKIXParameters(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
PKIXParameters(KeyStore)
Creates an instance of PKIXParameters
that
populates the set of most-trusted CAs from the trusted
certificate entries contained in the specified KeyStore
.
[Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;)V", "")]
public PKIXParameters (Java.Security.KeyStore? keystore);
[<Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;)V", "")>]
new Java.Security.Cert.PKIXParameters : Java.Security.KeyStore -> Java.Security.Cert.PKIXParameters
Parameters
- keystore
- KeyStore
a KeyStore
from which the set of
most-trusted CAs will be populated
- Attributes
Exceptions
if the keyStore
is not initialized.
if keyStore
does not contained any trusted
certificate entry.
Remarks
Creates an instance of PKIXParameters
that populates the set of most-trusted CAs from the trusted certificate entries contained in the specified KeyStore
. Only keystore entries that contain trusted X509Certificates
are considered; all other certificate types are ignored.
Java documentation for java.security.cert.PKIXParameters.PKIXParameters(java.security.KeyStore)
.
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
PKIXParameters(ICollection<TrustAnchor>)
Creates an instance of PKIXParameters
with the specified
Set
of most-trusted CAs.
[Android.Runtime.Register(".ctor", "(Ljava/util/Set;)V", "")]
public PKIXParameters (System.Collections.Generic.ICollection<Java.Security.Cert.TrustAnchor>? trustAnchors);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Set;)V", "")>]
new Java.Security.Cert.PKIXParameters : System.Collections.Generic.ICollection<Java.Security.Cert.TrustAnchor> -> Java.Security.Cert.PKIXParameters
Parameters
- trustAnchors
- ICollection<TrustAnchor>
a Set
of TrustAnchor
s
- Attributes
Remarks
Creates an instance of PKIXParameters
with the specified Set
of most-trusted CAs. Each element of the set is a TrustAnchor TrustAnchor
.
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.
Applies to
PKIXParameters(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected PKIXParameters (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Cert.PKIXParameters : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Cert.PKIXParameters
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.