CertificateParserParseCertificate Method
|
Takes in a certificate file (P12, DER, PEM, etc) and processes it into a ZebraCertificateInfo object which contains
the selected certificate, Certificate Authority certificate chain, and private key (if applicable).
Namespace:
Zebra.Sdk.Certificate
Assembly:
SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax public static ZebraCertificateInfo ParseCertificate(
Stream certificateStream,
string alias,
string password
)
Public Shared Function ParseCertificate (
certificateStream As Stream,
alias As String,
password As String
) As ZebraCertificateInfo
public:
static ZebraCertificateInfo^ ParseCertificate(
Stream^ certificateStream,
String^ alias,
String^ password
)
Parameters
- certificateStream
- Type: System.IOStream
Data stream for the certificate file to be processed. - alias
- Type: SystemString
The certificate to use within a multi-certificate (like PKCS12) file. - password
- Type: SystemString
Used to unlock a protected certificate file.
Return Value
Type:
ZebraCertificateInfoInstance containing all certificate and key information for the processed file.
Exceptions See Also