Click or drag to resize

ZebraP12InfoGetCertificateContent Method (String)

Get the content of the first entry in the certificate's certificate chain.

Namespace:  Zebra.Sdk.Certificate
Assembly:  SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax
public string GetCertificateContent(
	string alias
)

Parameters

alias
Type: SystemString
The alias name of the specific entry to extract from the certificate file.

Return Value

Type: String
The Zebra-friendly certificate content.
Exceptions
ExceptionCondition
ZebraCertificateExceptionIf the provided alias does not exist or the certificate content is corrupt
Remarks
The returned content is converted to PEM format. The resulting content can be stored to a printer for use with wireless security.
See Also