ZebraP12InfoGetCertificateExpirationDate Method
|
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.1869
Syntax public DateTime GetCertificateExpirationDate()
Public Function GetCertificateExpirationDate As DateTime
public:
DateTime GetCertificateExpirationDate()
Return Value
Type:
DateTimeThe client certificate expiration date.
Exceptions Exception | Condition |
---|
ZebraCertificateException | If the certificate keystore is invalid or the provided alias
does not exist in the certificate keystore. |
Remarks Since no alias is provided, the first entry in the certificate file will be used.
See Also