1/*
2 * Copyright 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package java.security.cert;
18
19import java.io.Serializable;
20
21/**
22 * The reason a CRL entry was revoked. See <a
23 * href="http://www.ietf.org/rfc/rfc3280.txt">RFC 3280</a> for more information.
24 *
25 * @since 1.7
26 * @hide
27 */
28public enum CRLReason implements Comparable<CRLReason>, Serializable {
29    UNSPECIFIED,
30    KEY_COMPROMISE,
31    CA_COMPROMISE,
32    AFFILIATION_CHANGED,
33    SUPERSEDED,
34    CESSATION_OF_OPERATION,
35    CERTIFICATE_HOLD,
36    UNUSED,
37    REMOVE_FROM_CRL,
38    PRIVILEGE_WITHDRAWN,
39    AA_COMPROMISE;
40}
41