Class CertificateDescription
- java.lang.Object
-
- de.cardcontact.opencard.service.smartcardhsm.CertificateDescription
-
public class CertificateDescription extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CertificateDescription()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
buildCertDescription(java.lang.String label)
static byte[]
buildCertDescription(java.lang.String label, byte[] commonObjectFlags, java.security.PublicKey subjectPublicKey, byte[] certEF)
static byte[]
buildCertDescription(java.lang.String label, java.security.PublicKey subjectPublicKey, byte[] certEF)
static byte[]
computeSubjectKeyID(java.security.PublicKey key)
java.lang.String
getLabel(byte[] enc)
-
-
-
Method Detail
-
buildCertDescription
public static byte[] buildCertDescription(java.lang.String label, java.security.PublicKey subjectPublicKey, byte[] certEF) throws TLVEncodingException
- Throws:
TLVEncodingException
-
computeSubjectKeyID
public static byte[] computeSubjectKeyID(java.security.PublicKey key)
-
buildCertDescription
public static byte[] buildCertDescription(java.lang.String label, byte[] commonObjectFlags, java.security.PublicKey subjectPublicKey, byte[] certEF) throws TLVEncodingException
- Throws:
TLVEncodingException
-
buildCertDescription
public byte[] buildCertDescription(java.lang.String label) throws TLVEncodingException
- Throws:
TLVEncodingException
-
getLabel
public java.lang.String getLabel(byte[] enc) throws TLVEncodingException
- Throws:
TLVEncodingException
-
-