003 File Manager
Current Path:
/usr/src/crypto/heimdal/doc/doxyout/hx509/man/man3
usr
/
src
/
crypto
/
heimdal
/
doc
/
doxyout
/
hx509
/
man
/
man3
/
📁
..
📄
hx509.3
(956 B)
📄
hx509_bitstring_print.3
(23 B)
📄
hx509_ca.3
(14.64 KB)
📄
hx509_ca_sign.3
(20 B)
📄
hx509_ca_sign_self.3
(20 B)
📄
hx509_ca_tbs_add_crl_dp_uri.3
(20 B)
📄
hx509_ca_tbs_add_eku.3
(20 B)
📄
hx509_ca_tbs_add_san_hostname.3
(20 B)
📄
hx509_ca_tbs_add_san_jid.3
(20 B)
📄
hx509_ca_tbs_add_san_ms_upn.3
(20 B)
📄
hx509_ca_tbs_add_san_otherName.3
(20 B)
📄
hx509_ca_tbs_add_san_pkinit.3
(20 B)
📄
hx509_ca_tbs_add_san_rfc822name.3
(20 B)
📄
hx509_ca_tbs_free.3
(20 B)
📄
hx509_ca_tbs_init.3
(20 B)
📄
hx509_ca_tbs_set_ca.3
(20 B)
📄
hx509_ca_tbs_set_domaincontroller.3
(20 B)
📄
hx509_ca_tbs_set_notAfter.3
(20 B)
📄
hx509_ca_tbs_set_notAfter_lifetime.3
(20 B)
📄
hx509_ca_tbs_set_notBefore.3
(20 B)
📄
hx509_ca_tbs_set_proxy.3
(20 B)
📄
hx509_ca_tbs_set_serialnumber.3
(20 B)
📄
hx509_ca_tbs_set_spki.3
(20 B)
📄
hx509_ca_tbs_set_subject.3
(20 B)
📄
hx509_ca_tbs_set_template.3
(20 B)
📄
hx509_ca_tbs_set_unique.3
(20 B)
📄
hx509_ca_tbs_subject_expand.3
(20 B)
📄
hx509_ca_tbs_template_units.3
(20 B)
📄
hx509_cert.3
(17.12 KB)
📄
hx509_cert_binary.3
(22 B)
📄
hx509_cert_check_eku.3
(22 B)
📄
hx509_cert_cmp.3
(22 B)
📄
hx509_cert_find_subjectAltName_otherName.3
(22 B)
📄
hx509_cert_free.3
(22 B)
📄
hx509_cert_get_SPKI.3
(22 B)
📄
hx509_cert_get_SPKI_AlgorithmIdentifier.3
(22 B)
📄
hx509_cert_get_attribute.3
(22 B)
📄
hx509_cert_get_base_subject.3
(22 B)
📄
hx509_cert_get_friendly_name.3
(22 B)
📄
hx509_cert_get_issuer.3
(22 B)
📄
hx509_cert_get_issuer_unique_id.3
(22 B)
📄
hx509_cert_get_notAfter.3
(22 B)
📄
hx509_cert_get_notBefore.3
(22 B)
📄
hx509_cert_get_serialnumber.3
(22 B)
📄
hx509_cert_get_subject.3
(22 B)
📄
hx509_cert_get_subject_unique_id.3
(22 B)
📄
hx509_cert_init.3
(22 B)
📄
hx509_cert_init_data.3
(22 B)
📄
hx509_cert_keyusage_print.3
(23 B)
📄
hx509_cert_ref.3
(22 B)
📄
hx509_cert_set_friendly_name.3
(22 B)
📄
hx509_certs_add.3
(24 B)
📄
hx509_certs_append.3
(24 B)
📄
hx509_certs_end_seq.3
(24 B)
📄
hx509_certs_filter.3
(24 B)
📄
hx509_certs_find.3
(24 B)
📄
hx509_certs_free.3
(24 B)
📄
hx509_certs_info.3
(24 B)
📄
hx509_certs_init.3
(24 B)
📄
hx509_certs_iter_f.3
(24 B)
📄
hx509_certs_merge.3
(24 B)
📄
hx509_certs_next_cert.3
(24 B)
📄
hx509_certs_start_seq.3
(24 B)
📄
hx509_certs_store.3
(24 B)
📄
hx509_ci_print_names.3
(24 B)
📄
hx509_clear_error_string.3
(23 B)
📄
hx509_cms.3
(7.94 KB)
📄
hx509_cms_create_signed_1.3
(21 B)
📄
hx509_cms_envelope_1.3
(21 B)
📄
hx509_cms_unenvelope.3
(21 B)
📄
hx509_cms_unwrap_ContentInfo.3
(21 B)
📄
hx509_cms_verify_signed.3
(21 B)
📄
hx509_cms_wrap_ContentInfo.3
(21 B)
📄
hx509_context_free.3
(17 B)
📄
hx509_context_init.3
(17 B)
📄
hx509_context_set_missing_revoke.3
(24 B)
📄
hx509_crl_add_revoked_certs.3
(24 B)
📄
hx509_crl_alloc.3
(24 B)
📄
hx509_crl_free.3
(24 B)
📄
hx509_crl_lifetime.3
(24 B)
📄
hx509_crl_sign.3
(24 B)
📄
hx509_crypto.3
(1.01 KB)
📄
hx509_env.3
(3.01 KB)
📄
hx509_env_add.3
(21 B)
📄
hx509_env_add_binding.3
(21 B)
📄
hx509_env_find.3
(21 B)
📄
hx509_env_find_binding.3
(21 B)
📄
hx509_env_free.3
(21 B)
📄
hx509_env_lfind.3
(21 B)
📄
hx509_err.3
(23 B)
📄
hx509_error.3
(2.93 KB)
📄
hx509_free_error_string.3
(23 B)
📄
hx509_free_octet_string_list.3
(22 B)
📄
hx509_general_name_unparse.3
(22 B)
📄
hx509_get_error_string.3
(23 B)
📄
hx509_get_one_cert.3
(24 B)
📄
hx509_keyset.3
(10.06 KB)
📄
hx509_lock.3
(240 B)
📄
hx509_misc.3
(753 B)
📄
hx509_name.3
(4.93 KB)
📄
hx509_name_binary.3
(22 B)
📄
hx509_name_cmp.3
(22 B)
📄
hx509_name_copy.3
(22 B)
📄
hx509_name_expand.3
(22 B)
📄
hx509_name_free.3
(22 B)
📄
hx509_name_is_null_p.3
(22 B)
📄
hx509_name_to_Name.3
(22 B)
📄
hx509_name_to_string.3
(22 B)
📄
hx509_ocsp_request.3
(24 B)
📄
hx509_ocsp_verify.3
(24 B)
📄
hx509_oid_print.3
(23 B)
📄
hx509_oid_sprint.3
(23 B)
📄
hx509_parse_name.3
(22 B)
📄
hx509_peer.3
(2.54 KB)
📄
hx509_peer_info_add_cms_alg.3
(22 B)
📄
hx509_peer_info_alloc.3
(22 B)
📄
hx509_peer_info_free.3
(22 B)
📄
hx509_peer_info_set_cert.3
(22 B)
📄
hx509_peer_info_set_cms_algs.3
(22 B)
📄
hx509_print.3
(4.82 KB)
📄
hx509_print_cert.3
(22 B)
📄
hx509_print_stdout.3
(23 B)
📄
hx509_query.3
(143 B)
📄
hx509_query_alloc.3
(22 B)
📄
hx509_query_free.3
(22 B)
📄
hx509_query_match_cmp_func.3
(22 B)
📄
hx509_query_match_eku.3
(22 B)
📄
hx509_query_match_friendly_name.3
(22 B)
📄
hx509_query_match_issuer_serial.3
(22 B)
📄
hx509_query_match_option.3
(22 B)
📄
hx509_query_statistic_file.3
(22 B)
📄
hx509_query_unparse_stats.3
(22 B)
📄
hx509_revoke.3
(4.24 KB)
📄
hx509_revoke_add_crl.3
(24 B)
📄
hx509_revoke_add_ocsp.3
(24 B)
📄
hx509_revoke_free.3
(24 B)
📄
hx509_revoke_init.3
(24 B)
📄
hx509_revoke_ocsp_print.3
(24 B)
📄
hx509_revoke_verify.3
(24 B)
📄
hx509_set_error_string.3
(23 B)
📄
hx509_set_error_stringv.3
(23 B)
📄
hx509_unparse_der_name.3
(22 B)
📄
hx509_validate_cert.3
(23 B)
📄
hx509_validate_ctx_add_flags.3
(23 B)
📄
hx509_validate_ctx_free.3
(23 B)
📄
hx509_validate_ctx_init.3
(23 B)
📄
hx509_validate_ctx_set_print.3
(23 B)
📄
hx509_verify.3
(8.35 KB)
📄
hx509_verify_attach_anchors.3
(24 B)
📄
hx509_verify_attach_revoke.3
(24 B)
📄
hx509_verify_ctx_f_allow_default_trustanchors.3
(22 B)
📄
hx509_verify_destroy_ctx.3
(24 B)
📄
hx509_verify_hostname.3
(22 B)
📄
hx509_verify_init_ctx.3
(24 B)
📄
hx509_verify_path.3
(24 B)
📄
hx509_verify_set_max_depth.3
(24 B)
📄
hx509_verify_set_proxy_certificate.3
(24 B)
📄
hx509_verify_set_strict_rfc3280_verification.3
(24 B)
📄
hx509_verify_set_time.3
(24 B)
📄
hx509_verify_signature.3
(24 B)
📄
hx509_xfree.3
(22 B)
📄
page_ca.3
(192 B)
📄
page_cert.3
(642 B)
📄
page_cms.3
(635 B)
📄
page_env.3
(210 B)
📄
page_error.3
(214 B)
📄
page_keyset.3
(852 B)
📄
page_lock.3
(234 B)
📄
page_name.3
(1.02 KB)
📄
page_peer.3
(350 B)
📄
page_print.3
(210 B)
📄
page_revoke.3
(746 B)
Editing: hx509_name.3
.TH "hx509 name functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdalx509library" \" -*- nroff -*- .ad l .nh .SH NAME hx509 name functions \- .SS "Functions" .in +1c .ti -1c .RI "int \fBhx509_name_to_string\fP (const hx509_name name, char **str)" .br .ti -1c .RI "int \fBhx509_name_cmp\fP (hx509_name n1, hx509_name n2)" .br .ti -1c .RI "int \fBhx509_parse_name\fP (hx509_context context, const char *str, hx509_name *name)" .br .ti -1c .RI "int \fBhx509_name_copy\fP (hx509_context context, const hx509_name from, hx509_name *to)" .br .ti -1c .RI "int \fBhx509_name_to_Name\fP (const hx509_name from, Name *to)" .br .ti -1c .RI "int \fBhx509_name_expand\fP (hx509_context context, hx509_name name, hx509_env env)" .br .ti -1c .RI "void \fBhx509_name_free\fP (hx509_name *name)" .br .ti -1c .RI "int \fBhx509_unparse_der_name\fP (const void *data, size_t length, char **str)" .br .ti -1c .RI "int \fBhx509_name_binary\fP (const hx509_name name, heim_octet_string *os)" .br .ti -1c .RI "int \fBhx509_name_is_null_p\fP (const hx509_name name)" .br .ti -1c .RI "int \fBhx509_general_name_unparse\fP (GeneralName *name, char **str)" .br .in -1c .SH "Detailed Description" .PP See the \fBPKIX/X.509 Names\fP for description and examples. .SH "Function Documentation" .PP .SS "int hx509_general_name_unparse (GeneralName * name, char ** str)" .PP Unparse the hx509 name in name into a string. .PP \fBParameters:\fP .RS 4 \fIname\fP the name to print .br \fIstr\fP an allocated string returns the name in string form .RE .PP \fBReturns:\fP .RS 4 An hx509 error code, see \fBhx509_get_error_string()\fP. .RE .PP .SS "int hx509_name_binary (const hx509_name name, heim_octet_string * os)" .PP Convert a hx509_name object to DER encoded name. .PP \fBParameters:\fP .RS 4 \fIname\fP name to concert .br \fIos\fP data to a DER encoded name, free the resulting octet string with hx509_xfree(os->data). .RE .PP \fBReturns:\fP .RS 4 An hx509 error code, see \fBhx509_get_error_string()\fP. .RE .PP .SS "int hx509_name_cmp (hx509_name n1, hx509_name n2)" .PP Compare to hx509 name object, useful for sorting. .PP \fBParameters:\fP .RS 4 \fIn1\fP a hx509 name object. .br \fIn2\fP a hx509 name object. .RE .PP \fBReturns:\fP .RS 4 0 the objects are the same, returns > 0 is n2 is 'larger' then n2, < 0 if n1 is 'smaller' then n2. .RE .PP .SS "int hx509_name_copy (hx509_context context, const hx509_name from, hx509_name * to)" .PP Copy a hx509 name object. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A hx509 cotext. .br \fIfrom\fP the name to copy from .br \fIto\fP the name to copy to .RE .PP \fBReturns:\fP .RS 4 An hx509 error code, see \fBhx509_get_error_string()\fP. .RE .PP .SS "int hx509_name_expand (hx509_context context, hx509_name name, hx509_env env)" .PP Expands variables in the name using env. Variables are on the form ${name}. Useful when dealing with certificate templates. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A hx509 cotext. .br \fIname\fP the name to expand. .br \fIenv\fP environment variable to expand. .RE .PP \fBReturns:\fP .RS 4 An hx509 error code, see \fBhx509_get_error_string()\fP. .RE .PP .PP Only UTF8String rdnSequence names are allowed .SS "void hx509_name_free (hx509_name * name)" .PP Free a hx509 name object, upond return *name will be NULL. .PP \fBParameters:\fP .RS 4 \fIname\fP a hx509 name object to be freed. .RE .PP .SS "int hx509_name_is_null_p (const hx509_name name)" .PP Unparse the hx509 name in name into a string. .PP \fBParameters:\fP .RS 4 \fIname\fP the name to check if its empty/null. .RE .PP \fBReturns:\fP .RS 4 non zero if the name is empty/null. .RE .PP .SS "int hx509_name_to_Name (const hx509_name from, Name * to)" .PP Convert a hx509_name into a Name. .PP \fBParameters:\fP .RS 4 \fIfrom\fP the name to copy from .br \fIto\fP the name to copy to .RE .PP \fBReturns:\fP .RS 4 An hx509 error code, see \fBhx509_get_error_string()\fP. .RE .PP .SS "int hx509_name_to_string (const hx509_name name, char ** str)" .PP Convert the hx509 name object into a printable string. The resulting string should be freed with free(). .PP \fBParameters:\fP .RS 4 \fIname\fP name to print .br \fIstr\fP the string to return .RE .PP \fBReturns:\fP .RS 4 An hx509 error code, see \fBhx509_get_error_string()\fP. .RE .PP .SS "int hx509_parse_name (hx509_context context, const char * str, hx509_name * name)" .PP Parse a string into a hx509 name object. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A hx509 context. .br \fIstr\fP a string to parse. .br \fIname\fP the resulting object, NULL in case of error. .RE .PP \fBReturns:\fP .RS 4 An hx509 error code, see \fBhx509_get_error_string()\fP. .RE .PP .SS "int hx509_unparse_der_name (const void * data, size_t length, char ** str)" .PP Convert a DER encoded name info a string. .PP \fBParameters:\fP .RS 4 \fIdata\fP data to a DER/BER encoded name .br \fIlength\fP length of data .br \fIstr\fP the resulting string, is NULL on failure. .RE .PP \fBReturns:\fP .RS 4 An hx509 error code, see \fBhx509_get_error_string()\fP. .RE .PP
Upload File
Create Folder