T
- type of encodingpublic static interface CertUtil.EncodeType<T>
Modifier and Type | Field and Description |
---|---|
static CertUtil.EncodeType<byte[]> |
DER
DER encode type.
|
static CertUtil.EncodeType<String> |
PKCS7
PKCS7 encode type.
|
static CertUtil.EncodeType<String> |
X509
X509 encode type.
|
Modifier and Type | Method and Description |
---|---|
T |
encode(X509Certificate cert)
Encodes the supplied certificate.
|
String |
getType()
Returns the type of encoding.
|
static final CertUtil.EncodeType<byte[]> DER
static final CertUtil.EncodeType<String> X509
static final CertUtil.EncodeType<String> PKCS7
String getType()
T encode(X509Certificate cert) throws CertificateEncodingException
cert
- to encodeCertificateEncodingException
- if an error occurs encoding the certificateCopyright © 2003-2024 Virginia Tech. All Rights Reserved.