/external/openssl/crypto/asn1/ |
D | x_crl.c | 68 static void setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp); 76 static int def_crl_verify(X509_CRL *crl, EVP_PKEY *r); 77 static int def_crl_lookup(X509_CRL *crl, 126 static int crl_set_issuers(X509_CRL *crl) 133 revoked = X509_CRL_get_REVOKED(crl); 147 crl->flags |= EXFLAG_INVALID; 154 if (!crl->issuers) 156 crl->issuers = sk_GENERAL_NAMES_new_null(); 157 if (!crl->issuers) 160 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp)) [all …]
|
D | asn1_locl.h | 140 int (*crl_init)(X509_CRL *crl); 141 int (*crl_free)(X509_CRL *crl); 142 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, 144 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk);
|
D | x_info.c | 82 ret->crl=NULL; in X509_INFO_new() 107 if (x->crl != NULL) X509_CRL_free(x->crl); in X509_INFO_free()
|
/external/openssl/crypto/x509/ |
D | x509cset.c | 69 if (x->crl->version == NULL) in X509_CRL_set_version() 71 if ((x->crl->version=M_ASN1_INTEGER_new()) == NULL) in X509_CRL_set_version() 74 return(ASN1_INTEGER_set(x->crl->version,version)); in X509_CRL_set_version() 79 if ((x == NULL) || (x->crl == NULL)) return(0); in X509_CRL_set_issuer_name() 80 return(X509_NAME_set(&x->crl->issuer,name)); in X509_CRL_set_issuer_name() 89 in=x->crl->lastUpdate; in X509_CRL_set_lastUpdate() 95 M_ASN1_TIME_free(x->crl->lastUpdate); in X509_CRL_set_lastUpdate() 96 x->crl->lastUpdate=in; in X509_CRL_set_lastUpdate() 107 in=x->crl->nextUpdate; in X509_CRL_set_nextUpdate() 113 M_ASN1_TIME_free(x->crl->nextUpdate); in X509_CRL_set_nextUpdate() [all …]
|
D | x509_vfy.c | 123 X509_CRL *crl, X509 *x); 128 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, 130 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score, 694 X509_CRL *crl = NULL, *dcrl = NULL; in check_cert() local 707 ok = ctx->get_crl(ctx, &crl, x); in check_cert() 709 ok = get_crl_delta(ctx, &crl, &dcrl, x); in check_cert() 719 ctx->current_crl = crl; in check_cert() 720 ok = ctx->check_crl(ctx, crl); in check_cert() 739 ok = ctx->cert_crl(ctx, crl, x); in check_cert() 744 X509_CRL_free(crl); in check_cert() [all …]
|
D | x509_ext.c | 71 return(X509v3_get_ext_count(x->crl->extensions)); in X509_CRL_get_ext_count() 76 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos)); in X509_CRL_get_ext_by_NID() 81 return(X509v3_get_ext_by_OBJ(x->crl->extensions,obj,lastpos)); in X509_CRL_get_ext_by_OBJ() 86 return(X509v3_get_ext_by_critical(x->crl->extensions,crit,lastpos)); in X509_CRL_get_ext_by_critical() 91 return(X509v3_get_ext(x->crl->extensions,loc)); in X509_CRL_get_ext() 96 return(X509v3_delete_ext(x->crl->extensions,loc)); in X509_CRL_delete_ext() 101 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx); in X509_CRL_get_ext_d2i() 107 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags); in X509_CRL_add1_ext_i2d() 112 return(X509v3_add_ext(&(x->crl->extensions),ex,loc) != NULL); in X509_CRL_add_ext()
|
D | x_all.c | 119 x->crl->enc.modified = 1; in X509_CRL_sign() 120 return(ASN1_item_sign(ASN1_ITEM_rptr(X509_CRL_INFO),x->crl->sig_alg, in X509_CRL_sign() 121 x->sig_alg, x->signature, x->crl,pkey,md)); in X509_CRL_sign() 127 x->crl->sig_alg, x->sig_alg, x->signature, x->crl, ctx); in X509_CRL_sign_ctx() 159 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() argument 161 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp() 164 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) in i2d_X509_CRL_fp() argument 166 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp() 170 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio() argument 172 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in d2i_X509_CRL_bio() [all …]
|
D | x509_lu.c | 169 ret=X509_CRL_cmp((*a)->data.crl,(*b)->data.crl); in x509_object_cmp() 222 X509_CRL_free(a->data.crl); in cleanup() 380 obj->data.crl=x; in X509_STORE_add_crl() 408 CRYPTO_add(&a->data.crl->references,1,CRYPTO_LOCK_X509_CRL); in X509_OBJECT_up_ref_count() 421 X509_CRL_free(a->data.crl); in X509_OBJECT_free_contents() 445 stmp.data.crl= &crl_s; in x509_object_idx_cnt() 446 crl_s.crl= &crl_info_s; in x509_object_idx_cnt() 569 x = obj->data.crl; in STACK_OF() 603 if (!X509_CRL_match(obj->data.crl, x->data.crl)) in X509_OBJECT_retrieve_match()
|
D | x509.h | 464 X509_CRL_INFO *crl; member 514 X509_CRL *crl; member 621 #define X509_CRL_get_version(x) ASN1_INTEGER_get((x)->crl->version) 622 #define X509_CRL_get_lastUpdate(x) ((x)->crl->lastUpdate) 623 #define X509_CRL_get_nextUpdate(x) ((x)->crl->nextUpdate) 624 #define X509_CRL_get_issuer(x) ((x)->crl->issuer) 625 #define X509_CRL_get_REVOKED(x) ((x)->crl->revoked) 629 int (*crl_init)(X509_CRL *crl), 630 int (*crl_free)(X509_CRL *crl), 631 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, [all …]
|
D | by_dir.c | 285 } crl; in get_cert_by_subject() member 306 data.crl.st_crl.crl= &data.crl.st_crl_info; in get_cert_by_subject() 307 data.crl.st_crl_info.issuer=name; in get_cert_by_subject() 308 stmp.data.crl= &data.crl.st_crl; in get_cert_by_subject()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
D | X509CRLImplTest.java | 190 private static X509CRLImpl crl; field in X509CRLImplTest 241 crl = new X509CRLImpl(certificateList); in setUp() 293 if (!Arrays.equals(encoding, crl.getEncoded())) { in testGetEncoded() 305 assertEquals("Incorrect version value", 2, crl.getVersion()); in testGetVersion() 313 new X500Principal(issuerName), crl.getIssuerDN()); in testGetIssuerDN() 321 new X500Principal(issuerName), crl.getIssuerDN()); in testGetIssuerX500Principal() 329 thisUpdate.getTime()/1000 == crl.getThisUpdate().getTime()/1000); in testGetThisUpdate() 337 nextUpdate.getTime()/1000 == crl.getNextUpdate().getTime()/1000); in testGetNextUpdate() 374 crl.getRevokedCertificate(cert1)); in testGetRevokedCertificate1() 376 crl.getRevokedCertificate(cert2)); in testGetRevokedCertificate1() [all …]
|
D | X509CertFactoryImplTest.java | 108 CRL crl; in testEngineGenerateCRL() local 114 crl = certFactory.engineGenerateCRL(bais); in testEngineGenerateCRL() 115 assertNotNull("First generated CRL is null", crl); in testEngineGenerateCRL() 116 crl = certFactory.engineGenerateCRL(bais); in testEngineGenerateCRL() 117 assertNotNull("Second generated CRL is null", crl); in testEngineGenerateCRL() 129 crl = certFactory.engineGenerateCRL(bais); in testEngineGenerateCRL() 130 assertNotNull("First generated CRL is null", crl); in testEngineGenerateCRL() 131 crl = certFactory.engineGenerateCRL(bais); in testEngineGenerateCRL() 132 assertNotNull("Second generated CRL is null", crl); in testEngineGenerateCRL()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CRLTest.java | 53 CRL crl = new MyCRL("TEST_TYPE"); in testGetType01() local 54 assertEquals("TEST_TYPE", crl.getType()); in testGetType01() 62 CRL crl = new MyCRL(null); in testGetType02() local 63 assertNull(crl.getType()); in testGetType02() 76 CRL crl = new MyCRL("TEST_TYPE"); in testToString() local 77 crl.toString(); in testToString() 84 CRL crl = new MyCRL("TEST_TYPE"); in testIsRevoked() local 85 crl.isRevoked(null); in testIsRevoked()
|
D | CertificateFactorySpiTest.java | 175 CRL crl = certFactorySpi.engineGenerateCRL(dis); in testCertificateFactorySpi02() local 176 assertNull("Result must be null", crl); in testCertificateFactorySpi02() 245 CRL crl = certFactorySpi.engineGenerateCRL(dis); in testCertificateFactorySpi03() local 246 assertNull("Result must be null", crl); in testCertificateFactorySpi03()
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CRLSelectorTest.java | 358 TestCRL crl = new TestCRL(minCRL); in testSetMinCRLNumber() local 362 selector.match(crl)); in testSetMinCRLNumber() 365 selector.match(crl)); in testSetMinCRLNumber() 368 selector.match(crl)); in testSetMinCRLNumber() 380 TestCRL crl = new TestCRL(maxCRL); in testSetMaxCRLNumber() local 384 selector.match(crl)); in testSetMaxCRLNumber() 387 selector.match(crl)); in testSetMaxCRLNumber() 390 selector.match(crl)); in testSetMaxCRLNumber() 401 TestCRL crl = new TestCRL(new Date(200), new Date(300)); in testSetDateAndTime() local 404 selector.match(crl)); in testSetDateAndTime() [all …]
|
/external/openssl/apps/ |
D | crl2p7.c | 94 X509_CRL *crl=NULL; in MAIN() local 196 crl=d2i_X509_CRL_bio(in,NULL); in MAIN() 198 crl=PEM_read_bio_X509_CRL(in,NULL,NULL,NULL); in MAIN() 203 if (crl == NULL) in MAIN() 219 p7s->crl=crl_stack; in MAIN() 220 if (crl != NULL) in MAIN() 222 sk_X509_CRL_push(crl_stack,crl); in MAIN() 223 crl=NULL; /* now part of p7 for OPENSSL_freeing */ in MAIN() 279 if (crl != NULL) X509_CRL_free(crl); in MAIN()
|
D | pkcs7.c | 253 crls=p7->d.sign->crl; in MAIN() 257 crls=p7->d.signed_and_enveloped->crl; in MAIN() 279 X509_CRL *crl; in MAIN() local 283 crl=sk_X509_CRL_value(crls,i); in MAIN() 285 X509_CRL_print(out, crl); in MAIN() 287 if(!noout)PEM_write_bio_X509_CRL(out,crl); in MAIN()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | PKIXCRLUtil.java | 50 X509CRL crl = (X509CRL)it.next(); in findCRLs() local 52 if (crl.getNextUpdate().after(validityDate)) in findCRLs() 58 if (crl.getThisUpdate().before(cert.getNotAfter())) in findCRLs() 60 finalSet.add(crl); in findCRLs() 65 finalSet.add(crl); in findCRLs()
|
D | RFC3280CertPathUtilities.java | 98 X509CRL crl) in processCRLB2() argument 104 … idp = IssuingDistributionPoint.getInstance(CertPathValidatorUtilities.getExtensionValue(crl, in processCRLB2() 135 … ASN1Sequence.fromByteArray(CertPathValidatorUtilities.getIssuerPrincipal(crl) in processCRLB2() 285 X509CRL crl) in processCRLB1() argument 288 … ASN1Primitive idp = CertPathValidatorUtilities.getExtensionValue(crl, ISSUING_DISTRIBUTION_POINT); in processCRLB1() 297 byte[] issuerBytes = CertPathValidatorUtilities.getIssuerPrincipal(crl).getEncoded(); in processCRLB1() 332 if (CertPathValidatorUtilities.getIssuerPrincipal(crl).equals( in processCRLB1() 345 X509CRL crl, in processCRLD() argument 352 … idp = IssuingDistributionPoint.getInstance(CertPathValidatorUtilities.getExtensionValue(crl, in processCRLD() 435 X509CRL crl, in processCRLF() argument [all …]
|
D | CertPathValidatorUtilities.java | 348 protected static X500Principal getIssuerPrincipal(X509CRL crl) in getIssuerPrincipal() argument 350 return crl.getIssuerX500Principal(); in getIssuerPrincipal() 977 X509CRL crl, in getCertStatus() argument 987 isIndirect = X509CRLObject.isIndirectCRL(crl); in getCertStatus() 996 crl_entry = crl.getRevokedCertificate(getSerialNumber(cert)); in getCertStatus() 1007 certIssuer = getIssuerPrincipal(crl); in getCertStatus() 1015 else if (!getEncodedIssuerPrincipal(cert).equals(getIssuerPrincipal(crl))) in getCertStatus() 1021 crl_entry = crl.getRevokedCertificate(getSerialNumber(cert)); in getCertStatus() 1146 X509CRL crl = (X509CRL)it.next(); in getDeltaCRLs() local 1148 if (isDeltaCRL(crl)) in getDeltaCRLs() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509CRLStoreSelector.java | 98 X509CRL crl = (X509CRL)obj; in match() local 102 byte[] bytes = crl in match() 141 byte[] idp = crl in match() 163 public boolean match(CRL crl) in match() argument 165 return match((Object)crl); in match()
|
/external/openssl/android.testssl/ |
D | CAss.cnf | 36 crl_dir = $dir/crl # Where the issued crl are kept 44 crl = $dir/crl.pem # The current CRL
|
/external/openssl/crypto/x509v3/ |
D | v3_conf.c | 358 X509_CRL *crl) in X509V3_EXT_CRL_add_nconf() argument 361 if (crl) in X509V3_EXT_CRL_add_nconf() 362 sk = &crl->crl->extensions; in X509V3_EXT_CRL_add_nconf() 447 X509_CRL *crl, int flags) in X509V3_set_ctx() argument 451 ctx->crl = crl; in X509V3_set_ctx() 510 char *section, X509_CRL *crl) in X509V3_EXT_CRL_add_conf() argument 514 return X509V3_EXT_CRL_add_nconf(&ctmp, ctx, section, crl); in X509V3_EXT_CRL_add_conf()
|
/external/openssl/include/openssl/ |
D | x509.h | 464 X509_CRL_INFO *crl; member 514 X509_CRL *crl; member 621 #define X509_CRL_get_version(x) ASN1_INTEGER_get((x)->crl->version) 622 #define X509_CRL_get_lastUpdate(x) ((x)->crl->lastUpdate) 623 #define X509_CRL_get_nextUpdate(x) ((x)->crl->nextUpdate) 624 #define X509_CRL_get_issuer(x) ((x)->crl->issuer) 625 #define X509_CRL_get_REVOKED(x) ((x)->crl->revoked) 629 int (*crl_init)(X509_CRL *crl), 630 int (*crl_free)(X509_CRL *crl), 631 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, [all …]
|
/external/openssl/crypto/store/ |
D | str_lib.c | 858 X509_CRL *crl; in STORE_generate_crl() local 865 if (!object || !object->data.crl) in STORE_generate_crl() 871 CRYPTO_add(&object->data.crl->references,1,CRYPTO_LOCK_X509_CRL); in STORE_generate_crl() 875 crl = object->data.crl; in STORE_generate_crl() 877 return crl; in STORE_generate_crl() 884 X509_CRL *crl; in STORE_get_crl() local 891 if (!object || !object->data.crl) in STORE_get_crl() 897 CRYPTO_add(&object->data.crl->references,1,CRYPTO_LOCK_X509_CRL); in STORE_get_crl() 901 crl = object->data.crl; in STORE_get_crl() 903 return crl; in STORE_get_crl() [all …]
|