public class ScepUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addCmsCertSet(org.bouncycastle.cms.CMSSignedDataGenerator generator,
org.xipki.security.X509Cert[] cmsCertSet) |
static List<org.xipki.security.X509Cert> |
getCertsFromSignedData(org.bouncycastle.asn1.cms.SignedData signedData) |
static org.bouncycastle.cert.X509CRLHolder |
getCrlFromPkiMessage(org.bouncycastle.asn1.cms.SignedData signedData) |
static org.bouncycastle.asn1.ASN1Encodable |
getFirstAttrValue(org.bouncycastle.asn1.cms.AttributeTable attrs,
org.bouncycastle.asn1.ASN1ObjectIdentifier type) |
static String |
getSignatureAlgName(Key key,
org.xipki.security.HashAlgo hashAlgo) |
static Date |
getTime(Object obj) |
public static List<org.xipki.security.X509Cert> getCertsFromSignedData(org.bouncycastle.asn1.cms.SignedData signedData) throws CertificateException
CertificateExceptionpublic static org.bouncycastle.cert.X509CRLHolder getCrlFromPkiMessage(org.bouncycastle.asn1.cms.SignedData signedData)
throws CRLException
CRLExceptionpublic static String getSignatureAlgName(Key key, org.xipki.security.HashAlgo hashAlgo) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic static org.bouncycastle.asn1.ASN1Encodable getFirstAttrValue(org.bouncycastle.asn1.cms.AttributeTable attrs,
org.bouncycastle.asn1.ASN1ObjectIdentifier type)
public static void addCmsCertSet(org.bouncycastle.cms.CMSSignedDataGenerator generator,
org.xipki.security.X509Cert[] cmsCertSet)
throws CertificateEncodingException,
org.bouncycastle.cms.CMSException
CertificateEncodingExceptionorg.bouncycastle.cms.CMSExceptionCopyright © 2023. All rights reserved.