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.13.898
Syntax public DateTime GetCertificateExpirationDate(
string alias
)
Public Function GetCertificateExpirationDate (
alias As String
) As DateTime
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:
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. |
See Also