Class Overview
Implements the ASN.1 APOptions type.
APOptions ::= KerberosFlags
-- reserved(0),
-- use-session-key(1),
-- mutual-required(2)
KerberosFlags ::= BIT STRING (SIZE (32..MAX))
-- minimum number of bits shall be sent,
-- but no fewer than 32
This definition reflects the Network Working Group RFC4120
specification available at
http://www.ietf.org/rfc/rfc4120.txt.
Summary
| Public Methods |
|
static
APOptions
|
parse(DerInputStream data, byte explicitTag, boolean optional)
Parse (unmarshal) an APOptions from a DER input stream.
|
|
[Expand]
Inherited Methods |
From class
sun.security.mule.krb5.internal.util.KerberosFlags
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
APOptions
(int oneBit)
public
APOptions
(int size, byte[] data)
public
APOptions
(boolean[] data)
public
APOptions
(DerValue encoding)
Public Methods
public
static
APOptions
parse
(DerInputStream data, byte explicitTag, boolean optional)
Parse (unmarshal) an APOptions from a DER input stream. This form
parsing might be used when expanding a value which is part of
a constructed sequence and uses explicitly tagged type.
Parameters
| data
| The Der input stream value, which contains one or more marshaled value. |
| explicitTag
| Tag number. |
| optional
| Indicate if this data field is optional. |
Returns
- an instance of APOptions.
Throws
| Asn1Exception
| if an error occurs while decoding an ASN1 encoded data. |
| IOException
| if an I/O error occurs while reading encoded data.
|