X.509 Public Key Certificate. More...
Objects of this class are used to represent X.509 public key certificates in the BlackBerry Dynamics secure store. Certificates in the store could be used as part of integration with an enterprise public key infrastructure.
The properties of this class correspond to the standard fields of an X.509 public key certificate.
Public Member Functions | |
byte[] | getBinaryX509DER () |
Get the binary DER encoded certificate data. More... | |
int | getBinaryX509DERLength () |
Get the length of the binary DER encoded certificate data. More... | |
int | getVersion () |
Get the X.509 version. More... | |
String | getSerialNumber () |
Get the X.509 Serial Number field. More... | |
String | getSubjectName () |
Get the X.509 Subject field. More... | |
String | getSubjectAlternativeName () |
Get the X.509 Subject Alternative Name field. More... | |
String | getIssuer () |
Get the X.509 Issuer field. More... | |
Date | getNotBeforeDate () |
Get the X.509 Validity: Not Before date and time. More... | |
Date | getNotAfterDate () |
Get the X.509 Validity: Not After date and time. More... | |
int | getDaysUntilExpiry () |
Get the days remaining until the certificate will expire. More... | |
int | getDaysUntilRenewalDue () |
Get the days remaining until the certificate becomes due for renewal. More... | |
String | getKeyUsage () |
Get the X.509 Key Usage field. More... | |
String | getExtendedKeyUsage () |
Get the X.509 Extended Key Usage field. More... | |
String | getPublicKeyMD5 () |
Get the MD5 hash of the public key. More... | |
String | getPublicKeySHA1 () |
Get the SHA-1 hash of the public key. More... | |
String | getCertificateMD5 () |
Get the MD5 hash of the certificate. More... | |
String | getCertificateSHA1 () |
Get the SHA-1 hash of the certificate. More... | |
String | getAlias () |
Alias name of the the certificate. More... | |
byte [] getBinaryX509DER | ( | ) |
byte
array containing the binary DER encoded representation of the X.509 certificate data. int getBinaryX509DERLength | ( | ) |
int
length of the binary DER encoded representation of the certificate, and hence the length of the getBinaryX509DER() return value. int getVersion | ( | ) |
int
representation of the X.509 version of the certificate. String getSerialNumber | ( | ) |
String
containing the value of the X.509 Serial Number field of the certificate. String getSubjectName | ( | ) |
String
containing the value of the X.509 Subject field of the certificate. String getSubjectAlternativeName | ( | ) |
String
containing the value of the X.509 Subject Alternative Name field of the certificate. String getIssuer | ( | ) |
String
containing the value of the X.509 Issuer field of the certificate. Date getNotBeforeDate | ( | ) |
Date
representation of the X.509 Validity: Not Before date and time of the certificate. Date getNotAfterDate | ( | ) |
Date
representation of the X.509 Validity: Not After date and time of the certificate. int getDaysUntilExpiry | ( | ) |
int
days remaining before expiry. A negative value indicates days since the certificate has expired. int getDaysUntilRenewalDue | ( | ) |
int
days remaining until due for renewal. A negative value indicates days overdue. String getKeyUsage | ( | ) |
String
containing the value of the X.509 Key Usage field of the certificate. String getExtendedKeyUsage | ( | ) |
String
containing the value of the X.509 Extended Key Usage field of the certificate. String getPublicKeyMD5 | ( | ) |
String
containing the MD5 hash of the certificate's public key. The value will be in two-digit hexadecimal format with capital letters and no spaces. It will always be 32 characters. For example: "A6144ABF4B87B7B912BC30A80FEB54B5". String getPublicKeySHA1 | ( | ) |
String
containing the SHA-1 hash of the certificate's public key. The value will be in two-digit hexadecimal format with capital letters and no spaces. It will always be 40 characters. For example: "CBED42E4E4817F19321D871AF58BA042E3B0FA5B". String getCertificateMD5 | ( | ) |
String
containing the MD5 hash of the certificate itself. The value will be in two-digit hexadecimal format with capital letters and no spaces. It will always be 32 characters. For example: "DDEBD17E31AB4515083593A754F8CF6C". String getCertificateSHA1 | ( | ) |
String
containing the SHA-1 hash of the certificate itself. The value will be in two-digit hexadecimal format with capital letters and no spaces. It will always be 40 characters. For example: "114230620A17CBB6F478FF3C3AF5C38A2CACF116". String getAlias | ( | ) |
String containing the alias for the certificate and private key pair if the certificate is stored externally to Dynamics, such as in Andorid credential storage or the iOS Keychain.