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 2007 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_Name; 91 KMFOID_NameConstraints; 92 KMFOID_OIW_DSAWithSHA1; 93 KMFOID_ObjectClass; 94 KMFOID_OrganizationName; 95 KMFOID_OrganizationalUnitName; 96 KMFOID_Owner; 97 KMFOID_PKIX_KP_ClientAuth; 98 KMFOID_PKIX_KP_CodeSigning; 99 KMFOID_PKIX_KP_EmailProtection; 100 KMFOID_PKIX_KP_IPSecEndSystem; 101 KMFOID_PKIX_KP_IPSecTunnel; 102 KMFOID_PKIX_KP_IPSecUser; 103 KMFOID_PKIX_KP_OCSPSigning; 104 KMFOID_PKIX_KP_ServerAuth; 105 KMFOID_PKIX_KP_TimeStamping; 106 KMFOID_PKIX_PQ_CPSuri; 107 KMFOID_PKIX_PQ_Unotice; 108 KMFOID_PhysicalDeliveryOfficeName; 109 KMFOID_PkixAdCaIssuers; 110 KMFOID_PkixAdOcsp; 111 KMFOID_PolicyConstraints; 112 KMFOID_PolicyMappings; 113 KMFOID_PostOfficeBox; 114 KMFOID_PostalAddress; 115 KMFOID_PostalCode; 116 KMFOID_PreferredDeliveryMethod; 117 KMFOID_PresentationAddress; 118 KMFOID_PrivateKeyUsagePeriod; 119 KMFOID_ProtocolInformation; 120 KMFOID_RFC822mailbox; 121 KMFOID_RSA; 122 KMFOID_RegisteredAddress; 123 KMFOID_RoleOccupant; 124 KMFOID_SHA1; 125 KMFOID_SHA1WithDSA; 126 KMFOID_SHA1WithRSA; 127 KMFOID_SearchGuide; 128 KMFOID_SeeAlso; 129 KMFOID_SerialNumber; 130 KMFOID_SigningTime; 131 KMFOID_StateProvinceName; 132 KMFOID_StreetAddress; 133 KMFOID_SubjectAltName; 134 KMFOID_SubjectDirectoryAttributes; 135 KMFOID_SubjectKeyIdentifier; 136 KMFOID_SupportedApplicationContext; 137 KMFOID_Surname; 138 KMFOID_TelephoneNumber; 139 KMFOID_TelexNumber; 140 KMFOID_TelexTerminalIdentifier; 141 KMFOID_Title; 142 KMFOID_UniqueIdentifier; 143 KMFOID_UniqueMember; 144 KMFOID_UnstructuredAddress; 145 KMFOID_UnstructuredName; 146 KMFOID_UserCertificate; 147 KMFOID_UserPassword; 148 KMFOID_VerisignCertificatePolicy; 149 KMFOID_X9CM_DSA; 150 KMFOID_X9CM_DSAWithSHA1; 151 KMFOID_X_121Address; 152 KMFOID_domainComponent; 153 KMFOID_userid; 154 kmf_add_cert_eku; 155 kmf_add_policy_to_db; 156 kmf_build_pk12; 157 kmf_check_cert_date; 158 kmf_check_crl_date; 159 kmf_compare_rdns; 160 kmf_configure_keystore; 161 kmf_create_cert_file; 162 kmf_create_csr_file; 163 kmf_create_keypair; 164 kmf_create_ocsp_request; 165 kmf_create_sym_key; 166 kmf_decrypt; 167 kmf_delete_cert_from_keystore; 168 kmf_delete_crl; 169 kmf_delete_key_from_keystore; 170 kmf_delete_policy_from_db; 171 kmf_der_to_pem; 172 kmf_dn_parser; 173 kmf_download_cert; 174 kmf_download_crl; 175 kmf_ekuname_to_oid; 176 kmf_encode_cert_record; 177 kmf_encrypt; 178 kmf_export_pk12; 179 kmf_finalize; 180 kmf_find_attr; 181 kmf_find_cert; 182 kmf_find_cert_in_crl; 183 kmf_find_crl; 184 kmf_find_key; 185 kmf_free_algoid; 186 kmf_free_bigint; 187 kmf_free_crl_dist_pts; 188 kmf_free_data; 189 kmf_free_dn; 190 kmf_free_eku; 191 kmf_free_eku_policy; 192 kmf_free_extn; 193 kmf_free_kmf_cert; 194 kmf_free_kmf_key; 195 kmf_free_policy_record; 196 kmf_free_raw_key; 197 kmf_free_raw_sym_key; 198 kmf_free_signed_cert; 199 kmf_free_signed_csr; 200 kmf_free_spki; 201 kmf_free_str; 202 kmf_free_tbs_cert; 203 kmf_free_tbs_csr; 204 kmf_get_attr; 205 kmf_get_attr_ptr; 206 kmf_get_cert_auth_info_access; 207 kmf_get_cert_basic_constraint; 208 kmf_get_cert_crl_dist_pts; 209 kmf_get_cert_eku; 210 kmf_get_cert_email_str; 211 kmf_get_cert_end_date_str; 212 kmf_get_cert_extn; 213 kmf_get_cert_extn_str; 214 kmf_get_cert_extns; 215 kmf_get_cert_id_data; 216 kmf_get_cert_id_str; 217 kmf_get_cert_issuer_str; 218 kmf_get_cert_ku; 219 kmf_get_cert_policies; 220 kmf_get_cert_pubkey_alg_str; 221 kmf_get_cert_pubkey_str; 222 kmf_get_cert_serial_str; 223 kmf_get_cert_sig_alg_str; 224 kmf_get_cert_start_date_str; 225 kmf_get_cert_subject_str; 226 kmf_get_cert_validity; 227 kmf_get_cert_version_str; 228 kmf_get_encoded_ocsp_response; 229 kmf_get_file_format; 230 kmf_get_kmf_error_str; 231 kmf_get_ocsp_for_cert; 232 kmf_get_ocsp_status_for_cert; 233 kmf_get_pk11_handle; 234 kmf_get_plugin_error_str; 235 kmf_get_policy; 236 kmf_get_string_attr; 237 kmf_get_sym_key_value; 238 kmf_hexstr_to_bytes; 239 kmf_import_crl; 240 kmf_import_cert; 241 kmf_import_objects; 242 kmf_initialize; 243 kmf_is_cert_file; 244 kmf_is_crl_file; 245 kmf_ku_to_string; 246 kmf_list_crl; 247 kmf_oid_to_eku_string; 248 kmf_oid_to_string; 249 kmf_pem_to_der; 250 kmf_pk11_token_lookup; 251 kmf_read_input_file; 252 kmf_select_token; 253 kmf_set_attr; 254 kmf_set_attr_at_index; 255 kmf_set_cert_basic_constraint; 256 kmf_set_cert_extn; 257 kmf_set_cert_issuer; 258 kmf_set_cert_issuer_altname; 259 kmf_set_cert_ku; 260 kmf_set_cert_pubkey; 261 kmf_set_cert_serial; 262 kmf_set_cert_sig_alg; 263 kmf_set_cert_subject; 264 kmf_set_cert_subject_altname; 265 kmf_set_cert_validity; 266 kmf_set_cert_version; 267 kmf_set_csr_extn; 268 kmf_set_csr_ku; 269 kmf_set_csr_pubkey; 270 kmf_set_csr_sig_alg; 271 kmf_set_csr_subject; 272 kmf_set_csr_subject_altname; 273 kmf_set_csr_version; 274 kmf_set_policy; 275 kmf_set_token_pin; 276 kmf_sign_cert; 277 kmf_sign_csr; 278 kmf_sign_data; 279 kmf_store_cert; 280 kmf_store_key; 281 kmf_string_to_ku; 282 kmf_string_to_oid; 283 kmf_validate_cert; 284 kmf_verify_cert; 285 kmf_verify_crl_file; 286 kmf_verify_data; 287 kmf_verify_policy; 288 local: 289 *; 290}; 291 292 293SUNWprivate_1.1 { 294 global: 295 GetIDFromSPKI; 296 KMF_ConfigureKeystore; 297 KMF_CreateCSRFile; 298 KMF_CreateKeypair; 299 KMF_DNParser; 300 KMF_Finalize; 301 KMF_FindCert; 302 KMF_FindKey; 303 KMF_FreeData; 304 KMF_FreeKMFCert; 305 KMF_FreeKMFKey; 306 KMF_FreeSignedCSR; 307 KMF_GetCertIDString; 308 KMF_GetCertIssuerNameString; 309 KMF_GetCertSubjectNameString; 310 KMF_GetKMFErrorString; 311 KMF_Initialize; 312 KMF_ReadInputFile; 313 KMF_SetCSRPubKey; 314 KMF_SetCSRSignatureAlgorithm; 315 KMF_SetCSRSubjectName; 316 KMF_SetCSRVersion; 317 KMF_SignCSR; 318 KMF_SignDataWithKey; 319 KMF_VerifyCertWithCert; 320 KMF_VerifyDataWithCert; 321 parsePolicyElement; 322 PKCS_AcquirePublicKeyHandle; 323 PKCS_GetDefaultSignatureMode; 324 pkcs_get_alg_map; 325 x509_algid_to_algoid; 326 x509_algoid_to_algid; 327 local: 328 *; 329}; 330