Home
last modified time | relevance | path

Searched refs:KMF_OID (Results 1 – 25 of 28) sorted by relevance

12

/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dalgoid.c15 KMF_OID * AlgOID;
23 {(KMF_OID *)&KMFOID_X9CM_DSA, KMF_ALGID_DSA},
24 {(KMF_OID *)&KMFOID_X9CM_DSAWithSHA1, KMF_ALGID_SHA1WithDSA},
25 {(KMF_OID *)&KMFOID_SHA1, KMF_ALGID_SHA1},
26 {(KMF_OID *)&KMFOID_RSA, KMF_ALGID_RSA},
27 {(KMF_OID *)&KMFOID_DSA, KMF_ALGID_DSA},
28 {(KMF_OID *)&KMFOID_MD5WithRSA, KMF_ALGID_MD5WithRSA},
29 {(KMF_OID *)&KMFOID_SHA1WithRSA, KMF_ALGID_SHA1WithRSA},
30 {(KMF_OID *)&KMFOID_SHA1WithDSA, KMF_ALGID_SHA1WithDSA},
31 {(KMF_OID *)&KMFOID_SHA256WithDSA, KMF_ALGID_SHA256WithDSA},
[all …]
H A Drdn_parser.c54 { "CN", OID_AVA_COMMON_NAME, (KMF_OID *)&KMFOID_CommonName},
55 { "SN", OID_AVA_SURNAME, (KMF_OID *)&KMFOID_Surname},
56 { "GN", OID_AVA_GIVEN_NAME, (KMF_OID *)&KMFOID_GivenName},
57 { "emailAddress", OID_PKCS9_EMAIL_ADDRESS, (KMF_OID *)&KMFOID_EmailAddress},
58 { "E", OID_PKCS9_EMAIL_ADDRESS, (KMF_OID *)&KMFOID_EmailAddress},
59 { "MAIL", OID_RFC1274_MAIL, (KMF_OID *)&KMFOID_RFC822mailbox},
60 { "STREET", OID_AVA_STREET_ADDRESS, (KMF_OID *)&KMFOID_StreetAddress},
61 { "UID", OID_RFC1274_UID, (KMF_OID *)&KMFOID_userid},
63 (KMF_OID *)&KMFOID_OrganizationalUnitName},
64 { "O", OID_AVA_ORGANIZATION_NAME, (KMF_OID *)&KMFOID_OrganizationName},
[all …]
H A Dpolicy.c39 KMF_OID *oid;
43 {"serverAuth", (KMF_OID *)&KMFOID_PKIX_KP_ServerAuth},
44 {"clientAuth", (KMF_OID *)&KMFOID_PKIX_KP_ClientAuth},
45 {"codeSigning", (KMF_OID *)&KMFOID_PKIX_KP_CodeSigning},
46 {"emailProtection", (KMF_OID *)&KMFOID_PKIX_KP_EmailProtection},
47 {"ipsecEndSystem", (KMF_OID *)&KMFOID_PKIX_KP_IPSecEndSystem},
48 {"ipsecTunnel", (KMF_OID *)&KMFOID_PKIX_KP_IPSecTunnel},
49 {"ipsecUser", (KMF_OID *)&KMFOID_PKIX_KP_IPSecUser},
50 {"timeStamping", (KMF_OID *)&KMFOID_PKIX_KP_TimeStamping},
51 {"OCSPSigning", (KMF_OID *)&KMFOID_PKIX_KP_OCSPSigning},
[all …]
H A Dkmfoids.c144 const KMF_OID
150 const KMF_OID
156 const KMF_OID
167 const KMF_OID
279 const KMF_OID
370 const KMF_OID
395 const KMF_OID
499 const KMF_OID
567 const KMF_OID
H A Dcertgetsetop.c131 KMF_OID *extoid, KMF_X509_EXTENSION *extdata) in kmf_get_cert_extn()
278 ret = kmf_get_cert_extn(certdata, (KMF_OID *)&KMFOID_KeyUsage, &extn); in kmf_get_cert_ku()
296 is_eku_present(KMF_X509EXT_EKU *ekuptr, KMF_OID *ekuoid) in is_eku_present()
316 KMF_OID oid; in parse_eku_data()
353 ekuptr->nEKUs * sizeof (KMF_OID)); in parse_eku_data()
393 (KMF_OID *)&KMFOID_ExtendedKeyUsage, &extn); in kmf_get_cert_eku()
435 (KMF_OID *)&KMFOID_BasicConstraints, &extn); in kmf_get_cert_basic_constraint()
543 (KMF_OID *)&KMFOID_PKIX_PQ_CPSuri)) { in get_pqinfo()
563 (KMF_OID *)&KMFOID_PKIX_PQ_Unotice)) { in get_pqinfo()
632 (KMF_OID *)&KMFOID_CertificatePolicies, &extn); in kmf_get_cert_policies()
[all …]
H A Dcertop.c44 KMF_OID *, KMF_DATA *);
389 static KMF_OID *
392 KMF_OID *oid; in get_default_signoid()
396 oid = (KMF_OID *)&KMFOID_SHA256WithRSA; in get_default_signoid()
401 oid = (KMF_OID *)&KMFOID_X9CM_DSAWithSHA1; in get_default_signoid()
403 oid = (KMF_OID *)&KMFOID_SHA256WithDSA; in get_default_signoid()
406 oid = (KMF_OID *)&KMFOID_SHA256WithECDSA; in get_default_signoid()
520 KMF_OID *oid = NULL; in kmf_sign_cert()
670 KMF_OID *oid; in kmf_sign_data()
783 (IsEqualOid(oid, (KMF_OID *)&KMFOID_X9CM_DSAWithSHA1) || in kmf_sign_data()
[all …]
H A Dcsrcrlop.c204 KMF_OID *alg; in kmf_set_csr_sig_alg()
235 (KMF_OID *)&KMFOID_SubjectAltName, critical, alttype, in kmf_set_csr_subject_altname()
257 kmf_add_csr_eku(KMF_CSR_DATA *CSRData, KMF_OID *ekuOID, in kmf_add_csr_eku()
276 (KMF_OID *)&KMFOID_ExtendedKeyUsage); in kmf_add_csr_eku()
404 sizeof (KMF_OID)); in sign_csr()
H A Dgeneralop.c779 kmf_oid_to_string(KMF_OID *oid) in kmf_oid_to_string()
1256 free_keyidlist(KMF_OID *oidlist, int len) in free_keyidlist()
1571 kmf_string_to_oid(char *oidstring, KMF_OID *oid) in kmf_string_to_oid()
1682 rv = kmf_string_to_oid(name, (KMF_OID *)derdata); in encode_rid()
2050 FindExtn(KMF_X509_EXTENSIONS *exts, KMF_OID *oid) in FindExtn()
2164 KMF_OID *oid, in kmf_set_altname()
H A Dclient.c897 (KMF_OID *)&KMFOID_PkixAdOcsp)) { in kmf_get_ocsp_for_cert()
/titanic_50/usr/src/lib/libkmf/include/
H A DkmfapiP.h88 KMF_OID *,
121 KMF_OID *,
238 extern KMF_BOOL IsEqualOid(KMF_OID *, KMF_OID *);
243 extern KMF_OID *x509_algid_to_algoid(KMF_ALGORITHM_INDEX);
244 extern KMF_ALGORITHM_INDEX x509_algoid_to_algid(KMF_OID *);
249 KMF_OID *, int, KMF_GENERALNAMECHOICES, char *);
251 extern KMF_X509_EXTENSION *FindExtn(KMF_X509_EXTENSIONS *, KMF_OID *);
255 extern void free_keyidlist(KMF_OID *, int);
348 extern KMF_BOOL is_eku_present(KMF_X509EXT_EKU *, KMF_OID *);
H A Dkmftypes.h52 typedef KMF_DATA KMF_OID; typedef
206 KMF_OID params;
261 KMF_OID FieldOid;
419 KMF_OID algorithm;
429 KMF_OID type;
540 KMF_OID extnId;
633 KMF_OID policyQualifierId;
651 KMF_OID policyIdentifier;
671 KMF_OID *keyPurposeIdList;
680 KMF_OID AccessMethod;
[all …]
H A Dkmfapi.h131 extern KMF_RETURN kmf_add_csr_eku(KMF_CSR_DATA *, KMF_OID *, int);
136 extern KMF_RETURN kmf_get_cert_extn(const KMF_DATA *, KMF_OID *,
229 extern KMF_RETURN kmf_add_cert_eku(KMF_X509_CERTIFICATE *, KMF_OID *, int);
282 extern char *kmf_oid_to_string(KMF_OID *);
283 extern KMF_RETURN kmf_string_to_oid(char *, KMF_OID *);
295 extern KMF_OID *kmf_ekuname_to_oid(char *);
296 extern char *kmf_oid_to_ekuname(KMF_OID *);
H A Drdn_parser.h68 KMF_OID *OID;
H A Dkmfpolicy.h70 KMF_OID *ekulist;
/titanic_50/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.h83 KMF_OID *ekulist;
115 int Str2KeyType(char *, KMF_OID *, KMF_KEY_ALG *, KMF_ALGORITHM_INDEX *);
129 KMF_OID *ecc_name_to_oid(char *);
132 int, KMF_CREDENTIAL *, KMF_OID *,
142 KMF_OID *, KMF_KEY_HANDLE *, KMF_KEY_HANDLE *);
H A Dgenkeypair.c50 int keylen, KMF_CREDENTIAL *tokencred, KMF_OID *curveoid, in genkeypair_pkcs11()
111 sizeof (KMF_OID)); in genkeypair_pkcs11()
229 KMF_OID *curveoid, in genkeypair_nss()
299 sizeof (KMF_OID)); in genkeypair_nss()
338 KMF_OID *curveoid = NULL; /* ECC */ in pk_genkeypair()
H A Dcommon.c69 const KMF_OID *oid;
529 compare_oids(KMF_OID *oid1, const KMF_OID *oid2) in compare_oids()
536 Str2KeyType(char *algm, KMF_OID *hashoid, KMF_KEY_ALG *ktype, in Str2KeyType()
1212 addToEKUList(EKU_LIST *ekus, int critical, KMF_OID *newoid) in addToEKUList()
1225 ekus->ekulist, ekus->eku_count * sizeof (KMF_OID)); in addToEKUList()
1252 KMF_OID *newoid; in parse_ekus()
1351 KMF_OID *
1357 return ((KMF_OID *)oid_table[i].oid); in ecc_name_to_oid()
H A Dgencsr.c53 KMF_ALGORITHM_INDEX sigAlg, KMF_OID *curveoid) in gencsr_pkcs11()
269 KMF_ALGORITHM_INDEX sigAlg, KMF_OID *curveoid) in gencsr_nss()
399 KMF_OID *curveoid = NULL; /* ECC */ in pk_gencsr()
400 KMF_OID *hashoid = NULL; in pk_gencsr()
H A Dsigncsr.c82 find_csr_extn(KMF_X509_EXTENSIONS *extnlist, KMF_OID *extoid, in find_csr_extn()
169 (KMF_OID *)&KMFOID_KeyUsage, &extn); in build_cert_from_csr()
208 KMF_KEY_HANDLE *key, KMF_OID *sigoid, KMF_DATA *outdata) in pk_sign_cert()
232 sigoid, sizeof (KMF_OID)); in pk_sign_cert()
H A Dgencert.c53 EKU_LIST *ekulist, KMF_OID *curveoid) in gencert_pkcs11()
417 EKU_LIST *ekulist, KMF_OID *curveoid) in gencert_nss()
605 KMF_OID *curveoid = NULL; /* ECC */ in pk_gencert()
606 KMF_OID *hashoid = NULL; in pk_gencert()
/titanic_50/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c181 addToEKUList(KMF_EKU_POLICY *ekus, KMF_OID *newoid) in addToEKUList()
186 ekus->ekulist, ekus->eku_count * sizeof (KMF_OID)); in addToEKUList()
198 KMF_OID *newoid; in parseEKUNames()
243 KMF_OID newoid = { 0, NULL }; in parseEKUOIDs()
/titanic_50/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/
H A Dmapper_cn.c107 KMF_OID *oid = RDN_OID(x509name, i); in mapper_map_cert_to_name()
/titanic_50/usr/src/lib/libelfsign/common/
H A Delfcertlib.c545 KMF_OID_ATTR, (KMF_OID *)&KMFOID_RSA, sizeof (KMF_OID)); in elfcertlib_sign()
/titanic_50/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c101 KMFPK11_SignData(KMF_HANDLE_T, KMF_KEY_HANDLE *, KMF_OID *,
111 KMFPK11_DecryptData(KMF_HANDLE_T, KMF_KEY_HANDLE *, KMF_OID *,
780 KMF_OID *Algorithm; in KMFPK11_EncodePubKeyData()
1046 Algorithm = (KMF_OID *)&KMFOID_EC_PUBLIC_KEY; in KMFPK11_EncodePubKeyData()
1581 KMF_OID *curveoid, in genecc_keypair()
1815 KMF_OID *eccoid = kmf_get_attr_ptr(KMF_ECC_CURVE_OID_ATTR, in KMFPK11_CreateKeypair()
2001 KMF_OID *algOID, in KMFPK11_SignData()
2319 KMF_OID *algOID, KMF_DATA *ciphertext, in KMFPK11_DecryptData()
/titanic_50/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c87 NSS_SignData(KMF_HANDLE_T, KMF_KEY_HANDLE *, KMF_OID *,
115 NSS_DecryptData(KMF_HANDLE_T, KMF_KEY_HANDLE *, KMF_OID *,
939 KMF_OID *eccoid = kmf_get_attr_ptr(KMF_ECC_CURVE_OID_ATTR, in NSS_CreateKeypair()
1015 KMF_OID *AlgOID, KMF_DATA *tobesigned, in NSS_SignData()
1292 KMF_OID *AlgOID, KMF_DATA *ciphertext, in NSS_DecryptData()

12