Home
last modified time | relevance | path

Searched refs:purpose (Results 1 – 25 of 70) sorted by relevance

123

/openssl-master/test/certs/
A Dmkcert.sh120 local purpose=
125 p) purpose="$OPTARG";;
143 if [ -n "$purpose" ]; then
222 local purpose=serverAuth
227 p) purpose="$OPTARG";;
254 local purpose=serverAuth
259 p) purpose="$OPTARG";;
288 local purpose=serverAuth
293 p) purpose="$OPTARG";;
343 local purpose=serverAuth
[all …]
/openssl-master/doc/man3/
A DX509_check_purpose.pod5 X509_check_purpose - Check the purpose of a certificate
15 This function checks if certificate I<x> was created with the purpose
44 =item E<32>1 if the certificate was created to perform the purpose represented by I<id>
46 =item E<32>0 if the certificate was not created to perform the purpose represented by I<id>
56 =item E<32>0 not a CA or does not have the purpose represented by I<id>
A DCMS_final.pod15 CMS_final() finalises the structure B<cms>. Its purpose is to perform any
A DOPENSSL_FILE.pod32 The macro B<OPENSSL_MSTR_HELPER> is an auxiliary macro for this purpose.
A DX509_STORE_CTX_get_error.pod224 consistent with the supplied purpose.
230 =item B<X509_V_ERR_INVALID_PURPOSE: unsupported certificate purpose>
232 The target certificate cannot be used for the specified purpose.
236 The root CA is not marked as trusted for the specified purpose.
240 The root CA is marked to reject the specified purpose.
A DX509_get0_distinguishing_id.pod36 For the purpose off verifying a certificate or a certification request, a
A DSSL_CTX_use_psk_identity_hint.pod70 ClientKeyExchange message from the client. The purpose of the callback function
80 or SSL_set_psk_find_session_callback() for this purpose instead. If TLSv1.3 has
A DRSA_sign_ASN1_OCTET_STRING.pod56 These functions serve no recognizable purpose.
A DOPENSSL_init_ssl.pod27 function OPENSSL_init_ssl() can be used for this purpose. Calling
A DSSL_CTX_set_psk_client_callback.pod105 The purpose of the callback function is to select the PSK identity and
119 or SSL_set_psk_use_session_callback() for this purpose instead. If TLSv1.3 has
A DCMS_add1_recipient_cert.pod45 The main purpose of this function is to provide finer control over a CMS
A DCMS_get0_SignerInfos.pod46 The main purpose of these functions is to enable an application to lookup
A DX509_VERIFY_PARAM_set_flags.pod37 int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose);
90 X509_VERIFY_PARAM_set_purpose() sets the verification purpose in B<param>
91 to B<purpose>. This determines the acceptable purpose of the certificate
/openssl-master/crypto/x509/
A Dv3_purp.c72 return (*a)->purpose - (*b)->purpose; in xp_cmp()
98 int X509_PURPOSE_set(int *p, int purpose) in X509_PURPOSE_set() argument
100 if (X509_PURPOSE_get_by_id(purpose) == -1) { in X509_PURPOSE_set()
104 *p = purpose; in X509_PURPOSE_set()
137 int X509_PURPOSE_get_by_id(int purpose) in X509_PURPOSE_get_by_id() argument
142 if (purpose >= X509_PURPOSE_MIN && purpose <= X509_PURPOSE_MAX) in X509_PURPOSE_get_by_id()
143 return purpose - X509_PURPOSE_MIN; in X509_PURPOSE_get_by_id()
146 tmp.purpose = purpose; in X509_PURPOSE_get_by_id()
193 ptmp->purpose = id; in X509_PURPOSE_add()
241 return xp->purpose; in X509_PURPOSE_get_id()
A Dx509_vfy.c425 if (depth >= ctx->num_untrusted && purpose == ctx->param->purpose) in check_purpose()
474 purpose = X509_PURPOSE_CRL_SIGN; in check_extensions()
478 purpose = ctx->param->purpose; in check_extensions()
586 if (purpose > 0 && !check_purpose(ctx, x, purpose, i, must_be_ca)) in check_extensions()
2226 int purpose, int trust) in X509_STORE_CTX_purpose_inherit() argument
2231 if (purpose == 0) in X509_STORE_CTX_purpose_inherit()
2232 purpose = def_purpose; in X509_STORE_CTX_purpose_inherit()
2234 if (purpose != 0) { in X509_STORE_CTX_purpose_inherit()
2237 idx = X509_PURPOSE_get_by_id(purpose); in X509_STORE_CTX_purpose_inherit()
2268 if (ctx->param->purpose == 0 && purpose != 0) in X509_STORE_CTX_purpose_inherit()
[all …]
A Dx509_vpm.c179 x509_verify_param_copy(purpose, 0); in X509_VERIFY_PARAM_inherit()
303 int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose) in X509_VERIFY_PARAM_set_purpose() argument
305 return X509_PURPOSE_set(&param->purpose, purpose); in X509_VERIFY_PARAM_set_purpose()
A Dx509_local.h26 int purpose; /* purpose to check untrusted certificates */ member
/openssl-master/test/recipes/
A D60-test_x509_store.t29 my ($cert, $purpose, $trustedpath, $untrusted, @opts) = @_;
32 push(@args, "$purpose", @opts);
A D25-test_verify.t21 my ($cert, $purpose, $trusted, $untrusted, @opts) = @_;
24 push(@args, "-purpose", $purpose) if $purpose ne "";
/openssl-master/test/recipes/80-test_cmp_http_data/
A Dtest_verification.csv10 …me: C too long, -section,, -recipient,/CN=ECC Issuing CA v10/OU=For test purpose only/O=CMPforOpen…
18 …n,, -recipient,_CA_DN, -expect_sender,/CN=ECC Issuing CA v10/OU=For test purpose only/C=DE,BLANK,,…
21 …recipient,_CA_DN, -expect_sender,/C=DE/CN=ECC Issuing CA v10/OU=For test purpose only/OCMPforOpenS…
/openssl-master/doc/man1/
A Dopenssl-verification-options.pod27 Verification is done relative to the given I<purpose>, which is the intended use
28 of the target certificate, such as SSL server, or by default for any purpose.
154 for consistency with the supplied purpose.
155 If the B<-purpose> option is not given then no such checks are done
159 must have extensions compatible with the specified purpose.
456 =item B<-purpose> I<purpose>
502 These mimics the combinations of purpose and trust settings used in SSL, CMS
504 As of OpenSSL 1.1.0, the trust model is inferred from the purpose when not
506 corresponding B<-purpose> settings.
551 Options like B<-purpose> lead to checking the certificate extensions,
/openssl-master/
A DNOTES-DJGPP.md42 device" (`/dev/urandom` or `/dev/random`) that serves this purpose."
A DREADME.md12 on a full-strength general purpose cryptographic library, which can also
41 a full-strength general purpose cryptographic library. It constitutes the
/openssl-master/include/openssl/
A Dx509_vfy.h.in89 # define X509_TRUST_DEFAULT 0 /* Only valid in purpose settings */
408 int X509_STORE_set_purpose(X509_STORE *ctx, int purpose);
672 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose);
675 int purpose, int trust);
709 int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose);
/openssl-master/doc/man7/
A DEVP_KEYEXCH-DH.pod29 usually do not need to support this gettable parameter as its sole purpose

Completed in 32 milliseconds

123