Package org.apache.harmony.security.x509
Class ReasonFlags
java.lang.Object
org.apache.harmony.security.x509.ReasonFlags
public final class ReasonFlags extends Object
The class encapsulates the ASN.1 DER encoding/decoding work
with the following part of X.509 CRL
(as specified in RFC 3280 -
Internet X.509 Public Key Infrastructure.
Certificate and Certificate Revocation List (CRL) Profile.
http://www.ietf.org/rfc/rfc3280.txt):
ReasonFlags ::= BIT STRING {
unused (0),
keyCompromise (1),
cACompromise (2),
affiliationChanged (3),
superseded (4),
cessationOfOperation (5),
certificateHold (6),
privilegeWithdrawn (7),
aACompromise (8)
}
-
Field Summary
Fields Modifier and Type Field Description static ASN1BitStringASN1ASN.1 Encoder/Decoder. -
Constructor Summary
Constructors Constructor Description ReasonFlags(boolean[] flags)Creates the extension object corresponding to the given flags. -
Method Summary
Modifier and Type Method Description voiddumpValue(StringBuilder sb, String prefix)
-
Field Details
-
ASN1
ASN.1 Encoder/Decoder.
-
-
Constructor Details
-
ReasonFlags
public ReasonFlags(boolean[] flags)Creates the extension object corresponding to the given flags.
-
-
Method Details
-
dumpValue
-