Package org.cryptacular.util
Class CertUtil.PKCS7EncodeType
java.lang.Object
org.cryptacular.util.CertUtil.AbstractPemEncodeType
org.cryptacular.util.CertUtil.PKCS7EncodeType
- All Implemented Interfaces:
CertUtil.EncodeType<String>
- Enclosing class:
CertUtil
PKCS7 encode type.
-
Field Summary
Fields inherited from interface org.cryptacular.util.CertUtil.EncodeType
DER, PKCS7, X509 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencode(X509Certificate cert) Encodes the supplied certificate.getType()Returns the type of encoding.Methods inherited from class org.cryptacular.util.CertUtil.AbstractPemEncodeType
encodePem
-
Constructor Details
-
PKCS7EncodeType
private PKCS7EncodeType()
-
-
Method Details
-
getType
Description copied from interface:CertUtil.EncodeTypeReturns the type of encoding.- Returns:
- type
-
encode
Description copied from interface:CertUtil.EncodeTypeEncodes the supplied certificate.- Parameters:
cert- to encode- Returns:
- encoded certificate
- Throws:
CertificateEncodingException- if an error occurs encoding the certificate
-