Package | Description |
---|---|
com.zebra.sdk.certificate |
Provides implementation for certificate utilities.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
ZebraP12Info.getAliases()
Get a list of aliases present in the certificate keystore.
|
String |
ZebraP12Info.getCaCommonName()
Get the common name of the CA associated with the certificate file.
|
String |
ZebraP12Info.getCaCommonName(String alias)
Get the common name of the CA associated with the certificate file.
|
String |
ZebraP12Info.getCaContent()
Get the content of the ca, which is determined to be all entries in the certificate chain after the first entry.
|
String |
ZebraP12Info.getCaContent(String alias)
Get the content of the ca, which is determined to be all entries in the certificate chain after the first entry.
|
Date |
ZebraP12Info.getCaExpirationDate()
Get the expiration data of the CA associated with the certificate file.
|
Date |
ZebraP12Info.getCaExpirationDate(String alias)
Get the expiration data of the CA associated with the certificate file.
|
String |
ZebraP12Info.getCertificateCommonName()
Get the common name of the client certificate associated with the certificate file.
|
String |
ZebraP12Info.getCertificateCommonName(String alias)
Get the common name of the client certificate associated with the certificate file.
|
String |
ZebraP12Info.getCertificateContent()
Get the content of the first entry in the certificate's certificate chain.
|
String |
ZebraP12Info.getCertificateContent(String alias)
Get the content of the first entry in the certificate's certificate chain.
|
Date |
ZebraP12Info.getCertificateExpirationDate()
Get the expiration data of the client certificate associated with the certificate file.
|
Date |
ZebraP12Info.getCertificateExpirationDate(String alias)
Get the expiration data of the client certificate associated with the certificate file.
|
String |
ZebraP12Info.getCertificateIssuer()
Get the issuer of the client certificate.
|
String |
ZebraP12Info.getCertificateIssuer(String alias)
Get the issuer of the client certificate.
|
String |
ZebraP12Info.getEncryptedPrivateKeyContent(String passwordToEncryptKey,
String p12Password)
Get the encrypted private key content.
|
String |
ZebraP12Info.getEncryptedPrivateKeyContent(String alias,
String passwordToEncryptKey,
String p12Password)
Get the encrypted private key content.
|
String |
ZebraP12Info.getPrivateKeyAlgorithm(String p12Password)
Get the algorithm used by the private key.
|
String |
ZebraP12Info.getPrivateKeyAlgorithm(String alias,
String p12Password)
Get the algorithm used by the private key.
|
String |
ZebraP12Info.getPrivateKeyFormat(String p12Password)
Get the format of the private key.
|
String |
ZebraP12Info.getPrivateKeyFormat(String alias,
String p12Password)
Get the format of the private key.
|
static ZebraCertificateInfo |
CertificateParser.parseCertificate(InputStream certificateStream,
String alias,
String password)
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).
|
Constructor and Description |
---|
ZebraP12Info(InputStream pkcs12Stream,
String p12Password)
Creates a wrapper that opens up the provided certificate keystore stream.
|
© 2015 ZIH Corp. All Rights Reserved.