sun.security.mule.krb5.internal
Class APOptions
java.lang.Object
sun.security.mule.krb5.internal.util.KerberosFlags
sun.security.mule.krb5.internal.APOptions
public class APOptions
- extends KerberosFlags
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.
|
Method Summary |
static APOptions |
parse(sun.security.util.DerInputStream data,
byte explicitTag,
boolean optional)
Parse (unmarshal) an APOptions from a DER input stream. |
APOptions
public APOptions()
APOptions
public APOptions(int oneBit)
throws Asn1Exception
- Throws:
Asn1Exception
APOptions
public APOptions(int size,
byte[] data)
throws Asn1Exception
- Throws:
Asn1Exception
APOptions
public APOptions(boolean[] data)
throws Asn1Exception
- Throws:
Asn1Exception
APOptions
public APOptions(sun.security.util.DerValue encoding)
throws IOException,
Asn1Exception
- Throws:
IOException
Asn1Exception
parse
public static APOptions parse(sun.security.util.DerInputStream data,
byte explicitTag,
boolean optional)
throws Asn1Exception,
IOException
- 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.
Copyright © 2013. All Rights Reserved.