X509Certificate.GetInstanceAsync 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
| Name | Description |
|---|---|
| GetInstanceAsync(Byte[]) |
Asynchronously instantiates an X.509 certificate initialized with the specified byte array. |
| GetInstanceAsync(Stream) |
Asynchronously instantiates an X.509 certificate initialized with data read from the specified stream. |
GetInstanceAsync(Byte[])
Asynchronously instantiates an X.509 certificate initialized with the specified byte array.
public static System.Threading.Tasks.Task<Javax.Security.Cert.X509Certificate?> GetInstanceAsync(byte[]? certData);
static member GetInstanceAsync : byte[] -> System.Threading.Tasks.Task<Javax.Security.Cert.X509Certificate>
Parameters
- certData
- Byte[]
A byte array containing the DER-encoded certificate.
Returns
A task that represents the asynchronous operation and contains an X.509 certificate initialized with certData.
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.
Applies to
GetInstanceAsync(Stream)
Asynchronously instantiates an X.509 certificate initialized with data read from the specified stream.
public static System.Threading.Tasks.Task<Javax.Security.Cert.X509Certificate?> GetInstanceAsync(System.IO.Stream? inStream);
static member GetInstanceAsync : System.IO.Stream -> System.Threading.Tasks.Task<Javax.Security.Cert.X509Certificate>
Parameters
- inStream
- Stream
An input stream containing the DER-encoded certificate data.
Returns
A task that represents the asynchronous operation and contains an X.509 certificate initialized with data from inStream.
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.