CertificateFactorySpi.EngineGenerateCertPath Method

Definition

Overloads

EngineGenerateCertPath(IList<Certificate>)

Generates a CertPath object and initializes it with a List of Certificates.

EngineGenerateCertPath(Stream)

Generates a CertPath object and initializes it with the data read from the InputStream inStream.

EngineGenerateCertPath(Stream, String)

Generates a CertPath object and initializes it with the data read from the InputStream inStream.

EngineGenerateCertPath(IList<Certificate>)

Generates a CertPath object and initializes it with a List of Certificates.

[Android.Runtime.Register("engineGenerateCertPath", "(Ljava/util/List;)Ljava/security/cert/CertPath;", "GetEngineGenerateCertPath_Ljava_util_List_Handler")]
public virtual Java.Security.Cert.CertPath? EngineGenerateCertPath (System.Collections.Generic.IList<Java.Security.Cert.Certificate>? certificates);
[<Android.Runtime.Register("engineGenerateCertPath", "(Ljava/util/List;)Ljava/security/cert/CertPath;", "GetEngineGenerateCertPath_Ljava_util_List_Handler")>]
abstract member EngineGenerateCertPath : System.Collections.Generic.IList<Java.Security.Cert.Certificate> -> Java.Security.Cert.CertPath
override this.EngineGenerateCertPath : System.Collections.Generic.IList<Java.Security.Cert.Certificate> -> Java.Security.Cert.CertPath

Parameters

certificates
IList<Certificate>

a List of Certificates

Returns

a CertPath initialized with the supplied list of certificates

Attributes

Remarks

Generates a CertPath object and initializes it with a List of Certificates.

The certificates supplied must be of a type supported by the CertificateFactory. They will be copied out of the supplied List object.

This method was added to version 1.4 of the Java 2 Platform Standard Edition. In order to maintain backwards compatibility with existing service providers, this method cannot be abstract and by default throws an UnsupportedOperationException.

Added in 1.4.

Java documentation for java.security.cert.CertificateFactorySpi.engineGenerateCertPath(java.util.List<? extends java.security.cert.Certificate>).

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

EngineGenerateCertPath(Stream)

Generates a CertPath object and initializes it with the data read from the InputStream inStream.

[Android.Runtime.Register("engineGenerateCertPath", "(Ljava/io/InputStream;)Ljava/security/cert/CertPath;", "GetEngineGenerateCertPath_Ljava_io_InputStream_Handler")]
public virtual Java.Security.Cert.CertPath? EngineGenerateCertPath (System.IO.Stream? inStream);
[<Android.Runtime.Register("engineGenerateCertPath", "(Ljava/io/InputStream;)Ljava/security/cert/CertPath;", "GetEngineGenerateCertPath_Ljava_io_InputStream_Handler")>]
abstract member EngineGenerateCertPath : System.IO.Stream -> Java.Security.Cert.CertPath
override this.EngineGenerateCertPath : System.IO.Stream -> Java.Security.Cert.CertPath

Parameters

inStream
Stream

an InputStream containing the data

Returns

a CertPath initialized with the data from the InputStream

Attributes

Exceptions

if parsing problems are detected.

Remarks

Generates a CertPath object and initializes it with the data read from the InputStream inStream. The data is assumed to be in the default encoding.

This method was added to version 1.4 of the Java 2 Platform Standard Edition. In order to maintain backwards compatibility with existing service providers, this method cannot be abstract and by default throws an UnsupportedOperationException.

Added in 1.4.

Java documentation for java.security.cert.CertificateFactorySpi.engineGenerateCertPath(java.io.InputStream).

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

EngineGenerateCertPath(Stream, String)

Generates a CertPath object and initializes it with the data read from the InputStream inStream.

[Android.Runtime.Register("engineGenerateCertPath", "(Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/cert/CertPath;", "GetEngineGenerateCertPath_Ljava_io_InputStream_Ljava_lang_String_Handler")]
public virtual Java.Security.Cert.CertPath? EngineGenerateCertPath (System.IO.Stream? inStream, string? encoding);
[<Android.Runtime.Register("engineGenerateCertPath", "(Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/cert/CertPath;", "GetEngineGenerateCertPath_Ljava_io_InputStream_Ljava_lang_String_Handler")>]
abstract member EngineGenerateCertPath : System.IO.Stream * string -> Java.Security.Cert.CertPath
override this.EngineGenerateCertPath : System.IO.Stream * string -> Java.Security.Cert.CertPath

Parameters

inStream
Stream

an InputStream containing the data

encoding
String

the encoding used for the data

Returns

a CertPath initialized with the data from the InputStream

Attributes

Exceptions

if parsing problems are detected.

if the provider does not implement this method.

Remarks

Generates a CertPath object and initializes it with the data read from the InputStream inStream. The data is assumed to be in the specified encoding.

This method was added to version 1.4 of the Java 2 Platform Standard Edition. In order to maintain backwards compatibility with existing service providers, this method cannot be abstract and by default throws an UnsupportedOperationException.

Added in 1.4.

Java documentation for java.security.cert.CertificateFactorySpi.engineGenerateCertPath(java.io.InputStream, java.lang.String).

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