1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 22# Use is subject to license terms. 23# 24# ident "%Z%%M% %I% %E% SMI" 25# 26 27SUNW_1.1 { 28 global: 29 KMFOID_AliasedEntryName; 30 KMFOID_AuthorityInfoAccess; 31 KMFOID_AuthorityKeyID; 32 KMFOID_AuthorityKeyIdentifier; 33 KMFOID_AuthorityRevocationList; 34 KMFOID_BasicConstraints; 35 KMFOID_BusinessCategory; 36 KMFOID_CACertificate; 37 KMFOID_CertificatePolicies; 38 KMFOID_CertificateRevocationList; 39 KMFOID_ChallengePassword; 40 KMFOID_CollectiveFacsimileTelephoneNumber; 41 KMFOID_CollectiveInternationalISDNNumber; 42 KMFOID_CollectiveOrganizationName; 43 KMFOID_CollectiveOrganizationalUnitName; 44 KMFOID_CollectivePhysicalDeliveryOfficeName; 45 KMFOID_CollectivePostOfficeBox; 46 KMFOID_CollectivePostalAddress; 47 KMFOID_CollectivePostalCode; 48 KMFOID_CollectiveStateProvinceName; 49 KMFOID_CollectiveStreetAddress; 50 KMFOID_CollectiveTelephoneNumber; 51 KMFOID_CollectiveTelexNumber; 52 KMFOID_CollectiveTelexTerminalIdentifier; 53 KMFOID_CommonName; 54 KMFOID_ContentType; 55 KMFOID_CounterSignature; 56 KMFOID_CountryName; 57 KMFOID_CrlDistributionPoints; 58 KMFOID_CrlNumber; 59 KMFOID_CrlReason; 60 KMFOID_CrossCertificatePair; 61 KMFOID_DNQualifier; 62 KMFOID_DSA; 63 KMFOID_DeltaCrlIndicator; 64 KMFOID_Description; 65 KMFOID_DestinationIndicator; 66 KMFOID_DistinguishedName; 67 KMFOID_EmailAddress; 68 KMFOID_EnhancedSearchGuide; 69 KMFOID_ExtendedCertificateAttributes; 70 KMFOID_ExtendedKeyUsage; 71 KMFOID_ExtensionRequest; 72 KMFOID_FacsimileTelephoneNumber; 73 KMFOID_GenerationQualifier; 74 KMFOID_GivenName; 75 KMFOID_HoldInstructionCode; 76 KMFOID_HouseIdentifier; 77 KMFOID_Initials; 78 KMFOID_InternationalISDNNumber; 79 KMFOID_InvalidityDate; 80 KMFOID_IssuerAltName; 81 KMFOID_IssuingDistributionPoints; 82 KMFOID_KeyUsage; 83 KMFOID_KeyUsageRestriction; 84 KMFOID_KnowledgeInformation; 85 KMFOID_LocalityName; 86 KMFOID_MD2WithRSA; 87 KMFOID_MD5WithRSA; 88 KMFOID_Member; 89 KMFOID_MessageDigest; 90 KMFOID_MS_KP_SCLogon; 91 KMFOID_MS_KP_SCLogon_UPN; 92 KMFOID_Name; 93 KMFOID_NameConstraints; 94 KMFOID_OIW_DSAWithSHA1; 95 KMFOID_ObjectClass; 96 KMFOID_OrganizationName; 97 KMFOID_OrganizationalUnitName; 98 KMFOID_Owner; 99 KMFOID_PKINIT_ClientAuth; 100 KMFOID_PKINIT_Kdc; 101 KMFOID_PKINIT_san; 102 KMFOID_PKIX_KP_ClientAuth; 103 KMFOID_PKIX_KP_CodeSigning; 104 KMFOID_PKIX_KP_EmailProtection; 105 KMFOID_PKIX_KP_IPSecEndSystem; 106 KMFOID_PKIX_KP_IPSecTunnel; 107 KMFOID_PKIX_KP_IPSecUser; 108 KMFOID_PKIX_KP_OCSPSigning; 109 KMFOID_PKIX_KP_ServerAuth; 110 KMFOID_PKIX_KP_TimeStamping; 111 KMFOID_PKIX_PQ_CPSuri; 112 KMFOID_PKIX_PQ_Unotice; 113 KMFOID_PhysicalDeliveryOfficeName; 114 KMFOID_PkixAdCaIssuers; 115 KMFOID_PkixAdOcsp; 116 KMFOID_PolicyConstraints; 117 KMFOID_PolicyMappings; 118 KMFOID_PostOfficeBox; 119 KMFOID_PostalAddress; 120 KMFOID_PostalCode; 121 KMFOID_PreferredDeliveryMethod; 122 KMFOID_PresentationAddress; 123 KMFOID_PrivateKeyUsagePeriod; 124 KMFOID_ProtocolInformation; 125 KMFOID_RFC822mailbox; 126 KMFOID_RSA; 127 KMFOID_RegisteredAddress; 128 KMFOID_RoleOccupant; 129 KMFOID_SHA1; 130 KMFOID_SHA1WithDSA; 131 KMFOID_SHA1WithRSA; 132 KMFOID_SearchGuide; 133 KMFOID_SeeAlso; 134 KMFOID_SerialNumber; 135 KMFOID_SigningTime; 136 KMFOID_StateProvinceName; 137 KMFOID_StreetAddress; 138 KMFOID_SubjectAltName; 139 KMFOID_SubjectDirectoryAttributes; 140 KMFOID_SubjectKeyIdentifier; 141 KMFOID_SupportedApplicationContext; 142 KMFOID_Surname; 143 KMFOID_TelephoneNumber; 144 KMFOID_TelexNumber; 145 KMFOID_TelexTerminalIdentifier; 146 KMFOID_Title; 147 KMFOID_UniqueIdentifier; 148 KMFOID_UniqueMember; 149 KMFOID_UnstructuredAddress; 150 KMFOID_UnstructuredName; 151 KMFOID_UserCertificate; 152 KMFOID_UserPassword; 153 KMFOID_VerisignCertificatePolicy; 154 KMFOID_X9CM_DSA; 155 KMFOID_X9CM_DSAWithSHA1; 156 KMFOID_X_121Address; 157 KMFOID_domainComponent; 158 KMFOID_userid; 159 kmf_add_cert_eku; 160 kmf_add_csr_eku; 161 kmf_add_policy_to_db; 162 kmf_build_pk12; 163 kmf_check_cert_date; 164 kmf_check_crl_date; 165 kmf_compare_rdns; 166 kmf_configure_keystore; 167 kmf_create_cert_file; 168 kmf_create_csr_file; 169 kmf_create_keypair; 170 kmf_create_ocsp_request; 171 kmf_create_sym_key; 172 kmf_decode_csr; 173 kmf_decrypt; 174 kmf_delete_cert_from_keystore; 175 kmf_delete_crl; 176 kmf_delete_key_from_keystore; 177 kmf_delete_policy_from_db; 178 kmf_der_to_pem; 179 kmf_dn_parser; 180 kmf_download_cert; 181 kmf_download_crl; 182 kmf_ekuname_to_oid; 183 kmf_encode_cert_record; 184 kmf_encrypt; 185 kmf_export_pk12; 186 kmf_finalize; 187 kmf_find_attr; 188 kmf_find_cert; 189 kmf_find_cert_in_crl; 190 kmf_find_crl; 191 kmf_find_key; 192 kmf_find_prikey_by_cert; 193 kmf_free_algoid; 194 kmf_free_bigint; 195 kmf_free_crl_dist_pts; 196 kmf_free_data; 197 kmf_free_dn; 198 kmf_free_eku; 199 kmf_free_eku_policy; 200 kmf_free_extn; 201 kmf_free_kmf_cert; 202 kmf_free_kmf_key; 203 kmf_free_policy_record; 204 kmf_free_raw_key; 205 kmf_free_raw_sym_key; 206 kmf_free_signed_cert; 207 kmf_free_signed_csr; 208 kmf_free_spki; 209 kmf_free_str; 210 kmf_free_tbs_cert; 211 kmf_free_tbs_csr; 212 kmf_get_attr; 213 kmf_get_attr_ptr; 214 kmf_get_cert_auth_info_access; 215 kmf_get_cert_basic_constraint; 216 kmf_get_cert_crl_dist_pts; 217 kmf_get_cert_eku; 218 kmf_get_cert_email_str; 219 kmf_get_cert_end_date_str; 220 kmf_get_cert_extn; 221 kmf_get_cert_extn_str; 222 kmf_get_cert_extns; 223 kmf_get_cert_id_data; 224 kmf_get_cert_id_str; 225 kmf_get_cert_issuer_str; 226 kmf_get_cert_ku; 227 kmf_get_cert_policies; 228 kmf_get_cert_pubkey_alg_str; 229 kmf_get_cert_pubkey_str; 230 kmf_get_cert_serial_str; 231 kmf_get_cert_sig_alg_str; 232 kmf_get_cert_start_date_str; 233 kmf_get_cert_subject_str; 234 kmf_get_cert_validity; 235 kmf_get_cert_version_str; 236 kmf_get_data_format; 237 kmf_get_encoded_ocsp_response; 238 kmf_get_file_format; 239 kmf_get_kmf_error_str; 240 kmf_get_ocsp_for_cert; 241 kmf_get_ocsp_status_for_cert; 242 kmf_get_pk11_handle; 243 kmf_get_plugin_error_str; 244 kmf_get_plugin_info; 245 kmf_get_policy; 246 kmf_get_string_attr; 247 kmf_get_sym_key_value; 248 kmf_hexstr_to_bytes; 249 kmf_import_crl; 250 kmf_import_cert; 251 kmf_import_objects; 252 kmf_initialize; 253 kmf_is_cert_data; 254 kmf_is_cert_file; 255 kmf_is_crl_file; 256 kmf_ku_to_string; 257 kmf_list_crl; 258 kmf_oid_to_ekuname; 259 kmf_oid_to_string; 260 kmf_pem_to_der; 261 kmf_pk11_token_lookup; 262 kmf_read_input_file; 263 kmf_set_attr; 264 kmf_set_attr_at_index; 265 kmf_set_cert_basic_constraint; 266 kmf_set_cert_extn; 267 kmf_set_cert_issuer; 268 kmf_set_cert_issuer_altname; 269 kmf_set_cert_ku; 270 kmf_set_cert_pubkey; 271 kmf_set_cert_serial; 272 kmf_set_cert_sig_alg; 273 kmf_set_cert_subject; 274 kmf_set_cert_subject_altname; 275 kmf_set_cert_validity; 276 kmf_set_cert_version; 277 kmf_set_csr_extn; 278 kmf_set_csr_ku; 279 kmf_set_csr_pubkey; 280 kmf_set_csr_sig_alg; 281 kmf_set_csr_subject; 282 kmf_set_csr_subject_altname; 283 kmf_set_csr_version; 284 kmf_set_policy; 285 kmf_set_token_pin; 286 kmf_sign_cert; 287 kmf_sign_csr; 288 kmf_sign_data; 289 kmf_store_cert; 290 kmf_store_key; 291 kmf_string_to_ku; 292 kmf_string_to_oid; 293 kmf_validate_cert; 294 kmf_verify_cert; 295 kmf_verify_crl_file; 296 kmf_verify_csr; 297 kmf_verify_data; 298 kmf_verify_policy; 299 local: 300 *; 301}; 302 303 304SUNWprivate_1.1 { 305 global: 306 GetIDFromSPKI; 307 KMF_ConfigureKeystore; 308 KMF_CreateCSRFile; 309 KMF_CreateKeypair; 310 KMF_DNParser; 311 KMF_Finalize; 312 KMF_FindCert; 313 KMF_FindKey; 314 KMF_FreeData; 315 KMF_FreeKMFCert; 316 KMF_FreeKMFKey; 317 KMF_FreeSignedCSR; 318 KMF_GetCertIDString; 319 KMF_GetCertIssuerNameString; 320 KMF_GetCertSubjectNameString; 321 KMF_GetKMFErrorString; 322 KMF_Initialize; 323 KMF_ReadInputFile; 324 KMF_SetCSRPubKey; 325 KMF_SetCSRSignatureAlgorithm; 326 KMF_SetCSRSubjectName; 327 KMF_SetCSRVersion; 328 KMF_SignCSR; 329 KMF_SignDataWithKey; 330 KMF_VerifyCertWithCert; 331 KMF_VerifyDataWithCert; 332 dup_entry; 333 free_entry; 334 free_entrylist; 335 get_entrylist; 336 kmf_select_token; 337 parsePolicyElement; 338 PKCS_AcquirePublicKeyHandle; 339 PKCS_GetDefaultSignatureMode; 340 pkcs_get_alg_map; 341 x509_algid_to_algoid; 342 x509_algoid_to_algid; 343 local: 344 *; 345}; 346