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.CertificateAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
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 Stream
- Data stream for the certificate file to be processed.
- alias String
- The certificate to use within a multi-certificate (like PKCS12) file.
- password String
- Used to unlock a protected certificate file.
Return Value
ZebraCertificateInfoInstance containing all certificate and key information for the processed file.
Exceptions See Also