Home
last modified time | relevance | path

Searched refs:CertUtils (Results 1 – 6 of 6) sorted by relevance

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DX509AttributeCertificateHolder.java46 return AttributeCertificate.getInstance(CertUtils.parseNonEmptyASN1(certEncoding)); in parseBytes()
140 … return CertUtils.recoverDate(attrCert.getAcinfo().getAttrCertValidityPeriod().getNotBeforeTime()); in getNotBefore()
150 … return CertUtils.recoverDate(attrCert.getAcinfo().getAttrCertValidityPeriod().getNotAfterTime()); in getNotAfter()
244 return CertUtils.getExtensionOIDs(extensions); in getExtensionOIDs()
255 return CertUtils.getCriticalExtensionOIDs(extensions); in getCriticalExtensionOIDs()
266 return CertUtils.getNonCriticalExtensionOIDs(extensions); in getNonCriticalExtensionOIDs()
271 return CertUtils.bitStringToBoolean(attrCert.getAcinfo().getIssuerUniqueID()); in getIssuerUniqueID()
314 …return !date.before(CertUtils.recoverDate(certValidityPeriod.getNotBeforeTime())) && !date.after(C… in isValidOn()
329 if (!CertUtils.isAlgIdEqual(acinfo.getSignature(), attrCert.getSignatureAlgorithm())) in isSignatureValid()
DX509CertificateHolder.java42 return Certificate.getInstance(CertUtils.parseNonEmptyASN1(certEncoding)); in parseBytes()
140 return CertUtils.getExtensionOIDs(extensions); in getExtensionOIDs()
151 return CertUtils.getCriticalExtensionOIDs(extensions); in getCriticalExtensionOIDs()
162 return CertUtils.getNonCriticalExtensionOIDs(extensions); in getNonCriticalExtensionOIDs()
278 … if (!CertUtils.isAlgIdEqual(tbsCert.getSignature(), x509Certificate.getSignatureAlgorithm())) in isSignatureValid()
DX509CRLEntryHolder.java120 return CertUtils.getExtensionOIDs(entry.getExtensions()); in getExtensionOIDs()
131 return CertUtils.getCriticalExtensionOIDs(entry.getExtensions()); in getCriticalExtensionOIDs()
142 return CertUtils.getNonCriticalExtensionOIDs(entry.getExtensions()); in getNonCriticalExtensionOIDs()
DX509CRLHolder.java258 return CertUtils.getExtensionOIDs(extensions); in getExtensionOIDs()
269 return CertUtils.getCriticalExtensionOIDs(extensions); in getCriticalExtensionOIDs()
280 return CertUtils.getNonCriticalExtensionOIDs(extensions); in getNonCriticalExtensionOIDs()
305 if (!CertUtils.isAlgIdEqual(tbsCRL.getSignature(), x509CRL.getSignatureAlgorithm())) in isSignatureValid()
DX509v3CertificateBuilder.java260 …extGenerator = CertUtils.doReplaceExtension(extGenerator, new Extension(oid, isCritical, value.toA… in replaceExtension()
283 extGenerator = CertUtils.doReplaceExtension(extGenerator, extension); in replaceExtension()
305 …extGenerator = CertUtils.doReplaceExtension(extGenerator, new Extension(oid, isCritical, encodedVa… in replaceExtension()
319 extGenerator = CertUtils.doRemoveExtension(extGenerator, oid); in removeExtension()
DCertUtils.java38 class CertUtils class