Package org.apache.kerby.asn1.type
Class Asn1Flags
java.lang.Object
org.apache.kerby.asn1.type.Asn1Object
org.apache.kerby.asn1.type.Asn1Encodeable
org.apache.kerby.asn1.type.AbstractAsn1Type<T>
org.apache.kerby.asn1.type.Asn1Simple<byte[]>
org.apache.kerby.asn1.type.Asn1BitString
org.apache.kerby.asn1.type.Asn1Flags
- All Implemented Interfaces:
Asn1Type
KrbFlags ::= BIT STRING (SIZE (32..MAX))
-- minimum number of bits shall be sent,
-- but no fewer than 32
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.kerby.asn1.type.Asn1Type
Asn1Type.EncodingType -
Field Summary
Fields inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
bodyLength, outerEncodeable -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.kerby.asn1.type.Asn1BitString
encodingBodyLength, getPadding, setPadding, toBytes, toStringMethods inherited from class org.apache.kerby.asn1.type.Asn1Simple
createSimple, createSimple, decodeBody, encodeBody, encodeBody, getBytes, isDefinitiveLength, isSimple, isSimple, isSimple, setBytesMethods inherited from class org.apache.kerby.asn1.type.AbstractAsn1Type
getValueMethods inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
decode, decode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, isDER, isImplicit, isPrimitive, resetBodyLength, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLength, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitiveMethods inherited from class org.apache.kerby.asn1.type.Asn1Object
isAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNo
-
Constructor Details
-
Asn1Flags
public Asn1Flags() -
Asn1Flags
public Asn1Flags(int value)
-
-
Method Details
-
setFlags
public void setFlags(int flags) -
setValue
public void setValue(byte[] value) - Overrides:
setValuein classAbstractAsn1Type<byte[]>
-
getFlags
public int getFlags() -
isFlagSet
public boolean isFlagSet(int flag) -
setFlag
public void setFlag(int flag) -
clearFlag
public void clearFlag(int flag) -
clear
public void clear() -
isFlagSet
-
setFlag
-
setFlag
-
clearFlag
-
toValue
- Overrides:
toValuein classAsn1BitString- Throws:
IOException
-