generate an x509 certificate , based on the current issuer and subject using the passed in signer . concode_field_sep X509ExtensionsGenerator extGenerator concode_elem_sep V2AttributeCertificateInfoGenerator acInfoGen concode_field_sep void setIssuerUniqueId concode_elem_sep X509v2AttributeCertificateBuilder addAttribute concode_elem_sep X509v2AttributeCertificateBuilder addAttribute concode_elem_sep X509v2AttributeCertificateBuilder addExtension
X509AttributeCertificateHolder function ( ContentSigner arg0 ) { acInfoGen . setSignature ( arg0 . getAlgorithmIdentifier ( ) ) ; if ( ! extGenerator . isEmpty ( ) ) { acInfoGen . setExtensions ( extGenerator . generate ( ) ) ; } return CertUtils . generateFullAttrCert ( arg0 , acInfoGen . generateAttributeCertificateInfo ( ) ) ; }