Click or drag to resize

ZebraP12InfoGetCertificateExpirationDate Method (String)

Get the expiration data of the client certificate associated with the certificate file.

Namespace:  Zebra.Sdk.Certificate
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1989
Syntax
public DateTime GetCertificateExpirationDate(
	string alias
)

Parameters

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

Return Value

Type: DateTime
The client certificate expiration date.
Exceptions
ExceptionCondition
ZebraCertificateExceptionIf the certificate keystore is invalid or the provided alias does not exist in the certificate keystore.
See Also