Home
last modified time | relevance | path

Searched refs:extGenerator (Results 1 – 5 of 5) sorted by relevance

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DX509v3CertificateBuilder.java37 private ExtensionsGenerator extGenerator; field in X509v3CertificateBuilder
91 extGenerator = new ExtensionsGenerator(); in X509v3CertificateBuilder()
109 extGenerator = new ExtensionsGenerator(); in X509v3CertificateBuilder()
115 extGenerator.addExtension(exts.getExtension((ASN1ObjectIdentifier)en.nextElement())); in X509v3CertificateBuilder()
143 Extensions exts = extGenerator.generate(); in doGetExtension()
192 extGenerator.addExtension(oid, isCritical, value); in addExtension()
214 extGenerator.addExtension(extension); in addExtension()
236 extGenerator.addExtension(oid, isCritical, encodedValue); in addExtension()
260extGenerator = CertUtils.doReplaceExtension(extGenerator, new Extension(oid, isCritical, value.toA… in replaceExtension()
283 extGenerator = CertUtils.doReplaceExtension(extGenerator, extension); in replaceExtension()
[all …]
DCertUtils.java166 …static void addExtension(ExtensionsGenerator extGenerator, ASN1ObjectIdentifier oid, boolean isCri… in addExtension() argument
171 extGenerator.addExtension(oid, isCritical, value); in addExtension()
273 static ExtensionsGenerator doReplaceExtension(ExtensionsGenerator extGenerator, Extension ext) in doReplaceExtension() argument
276 Extensions exts = extGenerator.generate(); in doReplaceExtension()
277 extGenerator = new ExtensionsGenerator(); in doReplaceExtension()
286 extGenerator.addExtension(ext); in doReplaceExtension()
290 extGenerator.addExtension(exts.getExtension(extOid)); in doReplaceExtension()
299 return extGenerator; in doReplaceExtension()
302 …static ExtensionsGenerator doRemoveExtension(ExtensionsGenerator extGenerator, ASN1ObjectIdentifie… in doRemoveExtension() argument
305 Extensions exts = extGenerator.generate(); in doRemoveExtension()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509V3CertificateGenerator.java56 private X509ExtensionsGenerator extGenerator; field in X509V3CertificateGenerator
61 extGenerator = new X509ExtensionsGenerator(); in X509V3CertificateGenerator()
70 extGenerator.reset(); in reset()
247 extGenerator.addExtension(new ASN1ObjectIdentifier(oid.getId()), critical, value); in addExtension()
271 extGenerator.addExtension(new ASN1ObjectIdentifier(oid.getId()), critical, value); in addExtension()
503 if (!extGenerator.isEmpty()) in generateTbsCert()
505 tbsGen.setExtensions(extGenerator.generate()); in generateTbsCert()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/
DX509V3CertificateGenerator.java58 private X509ExtensionsGenerator extGenerator; field in X509V3CertificateGenerator
63 extGenerator = new X509ExtensionsGenerator(); in X509V3CertificateGenerator()
72 extGenerator.reset(); in reset()
249 extGenerator.addExtension(new ASN1ObjectIdentifier(oid.getId()), critical, value); in addExtension()
273 extGenerator.addExtension(new ASN1ObjectIdentifier(oid.getId()), critical, value); in addExtension()
505 if (!extGenerator.isEmpty()) in generateTbsCert()
507 tbsGen.setExtensions(extGenerator.generate()); in generateTbsCert()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DX509V3CertificateGenerator.java58 private X509ExtensionsGenerator extGenerator; field in X509V3CertificateGenerator
64 extGenerator = new X509ExtensionsGenerator(); in X509V3CertificateGenerator()
73 extGenerator.reset(); in reset()
259 extGenerator.addExtension(new ASN1ObjectIdentifier(oid.getId()), critical, value); in addExtension()
283 extGenerator.addExtension(new ASN1ObjectIdentifier(oid.getId()), critical, value); in addExtension()
516 if (!extGenerator.isEmpty()) in generateTbsCert()
518 tbsGen.setExtensions(extGenerator.generate()); in generateTbsCert()