CertificateFactorySpi.EngineGenerateCertPath Method
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
EngineGenerateCertPath(IList<Certificate>) |
Generates a |
EngineGenerateCertPath(Stream) |
Generates a |
EngineGenerateCertPath(Stream, String) |
Generates a |
EngineGenerateCertPath(IList<Certificate>)
Generates a CertPath
object and initializes it with
a List
of Certificate
s.
[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 Certificate
s
Returns
a CertPath
initialized with the supplied list of
certificates
- Attributes
Remarks
Generates a CertPath
object and initializes it with a List
of Certificate
s.
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.
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.
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.
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.