public class PreAuthenticationDataDecoder extends Object
Constructor and Description |
---|
PreAuthenticationDataDecoder() |
Modifier and Type | Method and Description |
---|---|
PaData |
decode(byte[] encodedPreAuthData)
Decodes a byte array into
PaData . |
protected static PaData |
decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
PA-DATA ::= SEQUENCE {
padata-type[1] INTEGER,
padata-value[2] OCTET STRING,
-- might be encoded AP-REQ
}
|
protected static PaData[] |
decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
KDC-REQ ::= SEQUENCE {
pvno[1] INTEGER,
msg-type[2] INTEGER,
padata[3] SEQUENCE OF PA-DATA OPTIONAL,
req-body[4] KDC-REQ-BODY
}
|
public PaData decode(byte[] encodedPreAuthData) throws IOException
PaData
.encodedPreAuthData
- PaData
.IOException
protected static PaData[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
protected static PaData decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.