1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24/** -- idl definition -- **/
25
26#ifndef __com_sun_star_security_ExtAltNameType_idl_
27#define __com_sun_star_security_ExtAltNameType_idl_
28
29#include <com/sun/star/uno/XInterface.idl>
30
31module com { module sun { module star { module security {
32
33/**
34 * Constant definiton of a certificate container status.
35 */
36enum ExtAltNameType
37{
38    /**
39     * Cutomize name/value pair
40     * The value of CertAltNameEntry contains a NamedValue.
41	 *
42	 * @see com::sun::star::security::CertAltNameEntry
43     */
44    OTHER_NAME,
45
46    /**
47     * The entry contains rfc822 name.
48     * The value of CertAltNameEntry contains a OUString.
49	 *
50	 * @see com::sun::star::security::CertAltNameEntry
51     */
52    RFC822_NAME,
53
54    /**
55     * The entry contains a dns name.
56     * The value of CertAltNameEntry contains a OUString.
57	 *
58	 * @see com::sun::star::security::CertAltNameEntry
59     */
60    DNS_NAME,
61
62    /**
63     * Currently unsupported.
64     */
65    DIRECTORY_NAME,
66
67    /**
68     * The entry contains an url.
69     * The value of CertAltNameEntry contains a OUString.
70	 *
71	 * @see com::sun::star::security::CertAltNameEntry
72     */
73    URL,
74
75    /**
76     * The entry contains a ip address.
77     * The value of CertAltNameEntry contains a Sequence of sal_Int8.
78	 *
79	 * @see com::sun::star::security::CertAltNameEntry
80     */
81    IP_ADDRESS,
82
83    /**
84     * The entry contains a registered id.
85     * The value of CertAltNameEntry contains a OUString.
86	 *
87	 * @see com::sun::star::security::CertAltNameEntry
88     */
89    REGISTERED_ID,
90
91    /**
92     * Currently unsupported.
93     */
94    EDI_PARTY_NAME,
95
96    /**
97     * Currently unsupported.
98     */
99    X400_ADDRESS
100
101};
102
103} ; } ; } ; } ;
104
105#endif
106
107