public class KeyIdUtils extends Object
| Constructor and Description |
|---|
KeyIdUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
authorityKeyIdentifierToString(org.bouncycastle.asn1.x509.AuthorityKeyIdentifier authorityKeyIdentifier) |
static String |
authoritySerialNumberToString(org.bouncycastle.asn1.x509.AuthorityKeyIdentifier authorityKeyIdentifier) |
static org.bouncycastle.asn1.x509.SubjectKeyIdentifier |
createPublicKeyIdentifier(PublicKey subjectPublicKey) |
static org.bouncycastle.asn1.x509.SubjectKeyIdentifier |
createPublicKeyIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) |
static byte[] |
createPublicKeyIdentifierAsByteString(PublicKey subjectPublicKey) |
static byte[] |
createPublicKeyIdentifierAsByteString(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) |
static byte[] |
createPublicKeyIdentifierAsByteString(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static String |
createPublicKeyIdentifierAsString(PublicKey subjectPublicKey) |
static String |
createPublicKeyIdentifierAsString(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) |
static String |
createPublicKeyIdentifierAsString(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static String |
hexEncode(org.bouncycastle.asn1.ASN1Integer value) |
static String |
hexEncode(org.bouncycastle.asn1.ASN1OctetString octetString) |
static String |
hexEncode(byte[] keyIdentifier) |
static org.bouncycastle.asn1.x509.AuthorityKeyIdentifier |
readAuthorityKeyIdentifier(org.bouncycastle.asn1.crmf.CertTemplate certTemplate) |
static org.bouncycastle.asn1.x509.AuthorityKeyIdentifier |
readAuthorityKeyIdentifier(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static byte[] |
readAuthorityKeyIdentifierAsByteString(org.bouncycastle.asn1.x509.AuthorityKeyIdentifier authorityKeyIdentifier) |
static byte[] |
readAuthorityKeyIdentifierAsByteString(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static String |
readAuthorityKeyIdentifierAsString(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static String |
readSerialNumberAsString(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static org.bouncycastle.asn1.x509.SubjectKeyIdentifier |
readSubjectKeyIdentifier(org.bouncycastle.asn1.crmf.CertTemplate certTemplate) |
static org.bouncycastle.asn1.x509.SubjectKeyIdentifier |
readSubjectKeyIdentifier(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static byte[] |
readSubjectKeyIdentifierAsByteString(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static String |
readSubjectKeyIdentifierAsString(org.bouncycastle.cert.X509CertificateHolder certHldr) |
static String |
subjectKeyIdentifierToString(org.bouncycastle.asn1.x509.SubjectKeyIdentifier subjectKeyIdentifier) |
public static byte[] createPublicKeyIdentifierAsByteString(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static String createPublicKeyIdentifierAsString(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static org.bouncycastle.asn1.x509.SubjectKeyIdentifier createPublicKeyIdentifier(PublicKey subjectPublicKey)
public static org.bouncycastle.asn1.x509.SubjectKeyIdentifier createPublicKeyIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
public static byte[] createPublicKeyIdentifierAsByteString(PublicKey subjectPublicKey)
public static byte[] createPublicKeyIdentifierAsByteString(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
public static String createPublicKeyIdentifierAsString(PublicKey subjectPublicKey)
public static String createPublicKeyIdentifierAsString(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
public static org.bouncycastle.asn1.x509.AuthorityKeyIdentifier readAuthorityKeyIdentifier(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static byte[] readAuthorityKeyIdentifierAsByteString(org.bouncycastle.asn1.x509.AuthorityKeyIdentifier authorityKeyIdentifier)
public static byte[] readAuthorityKeyIdentifierAsByteString(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static String readAuthorityKeyIdentifierAsString(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static org.bouncycastle.asn1.x509.AuthorityKeyIdentifier readAuthorityKeyIdentifier(org.bouncycastle.asn1.crmf.CertTemplate certTemplate)
public static String authorityKeyIdentifierToString(org.bouncycastle.asn1.x509.AuthorityKeyIdentifier authorityKeyIdentifier)
public static String authoritySerialNumberToString(org.bouncycastle.asn1.x509.AuthorityKeyIdentifier authorityKeyIdentifier)
public static org.bouncycastle.asn1.x509.SubjectKeyIdentifier readSubjectKeyIdentifier(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static byte[] readSubjectKeyIdentifierAsByteString(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static String readSubjectKeyIdentifierAsString(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static org.bouncycastle.asn1.x509.SubjectKeyIdentifier readSubjectKeyIdentifier(org.bouncycastle.asn1.crmf.CertTemplate certTemplate)
public static String subjectKeyIdentifierToString(org.bouncycastle.asn1.x509.SubjectKeyIdentifier subjectKeyIdentifier)
public static String hexEncode(byte[] keyIdentifier)
public static String hexEncode(org.bouncycastle.asn1.ASN1OctetString octetString)
public static String readSerialNumberAsString(org.bouncycastle.cert.X509CertificateHolder certHldr)
public static String hexEncode(org.bouncycastle.asn1.ASN1Integer value)
Copyright © 2020. All rights reserved.