public class

APOptions

extends KerberosFlags
java.lang.Object
   ↳ sun.security.mule.krb5.internal.util.KerberosFlags
     ↳ sun.security.mule.krb5.internal.APOptions

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

[Expand]
Inherited Constants
From class sun.security.mule.krb5.internal.util.KerberosFlags
[Expand]
Inherited Fields
From class sun.security.mule.krb5.internal.util.KerberosFlags
Public Constructors
APOptions()
APOptions(int oneBit)
APOptions(int size, byte[] data)
APOptions(boolean[] data)
APOptions(DerValue encoding)
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

Public Constructors

public APOptions ()

public APOptions (int oneBit)

Parameters
oneBit
Throws
Asn1Exception

public APOptions (int size, byte[] data)

Parameters
size
data
Throws
Asn1Exception

public APOptions (boolean[] data)

Parameters
data
Throws
Asn1Exception

public APOptions (DerValue encoding)

Parameters
encoding
Throws
Asn1Exception
IOException

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.