Class ScepUtil


  • public class ScepUtil
    extends Object
    SCEP utility class.
    Author:
    Lijun Liao (xipki)
    • Method Detail

      • getCrlFromPkiMessage

        public static org.bouncycastle.cert.X509CRLHolder getCrlFromPkiMessage​(org.bouncycastle.asn1.cms.SignedData signedData)
                                                                        throws CRLException
        Throws:
        CRLException
      • getFirstAttrValue

        public static org.bouncycastle.asn1.ASN1Encodable getFirstAttrValue​(org.bouncycastle.asn1.cms.AttributeTable attrs,
                                                                            org.bouncycastle.asn1.ASN1ObjectIdentifier type)
      • addCmsCertSet

        public static void addCmsCertSet​(org.bouncycastle.cms.CMSSignedDataGenerator generator,
                                         org.xipki.security.X509Cert[] cmsCertSet)
                                  throws CertificateEncodingException,
                                         org.bouncycastle.cms.CMSException
        Throws:
        CertificateEncodingException
        org.bouncycastle.cms.CMSException