public class AdKdcIssued
extends org.apache.directory.api.asn1.AbstractAsn1Object
AD-KDCIssued ::= SEQUENCE {
ad-checksum [0] Checksum,
i-realm [1] Realm OPTIONAL,
i-sname [2] PrincipalName OPTIONAL,
elements [3] AuthorizationData
}
| Constructor and Description |
|---|
AdKdcIssued()
Creates a new instance of AdKdcIssued
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the AD-KDCIssued length
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the AD-KDCIssued message to a PDU.
|
Checksum |
getAdChecksum() |
AuthorizationData |
getElements() |
String |
getIRealm() |
PrincipalName |
getISName() |
void |
setAdChecksum(Checksum adChecksum) |
void |
setElements(AuthorizationData elements) |
void |
setIRealm(String irealm) |
void |
setISName(PrincipalName isname) |
String |
toString() |
String |
toString(String tabs) |
public AuthorizationData getElements()
public void setElements(AuthorizationData elements)
elements - the elements to setpublic Checksum getAdChecksum()
public void setAdChecksum(Checksum adChecksum)
adChecksum - the adChecksum to setpublic String getIRealm()
public void setIRealm(String irealm)
irealm - the irealm to setpublic PrincipalName getISName()
public void setISName(PrincipalName isname)
isname - the isname to setpublic int computeLength()
0x30 L1 AD-KDCIssued sequence
|
+--> 0xA1 L2 ad-checksum tag
| |
| +--> 0x30 L2-1 ad-checksum value ( Checksum )
|
+--> 0xA2 L3 i-realm tag
| |
| +--> 0x1B L3-1 i-realm value ( KerberosString )
|
+--> 0xA3 L4 i-sname tag
| |
| +--> 0x30 L4-1 i-sname value ( PrincipalName )
|
+--> 0xA4 L5 elements tag
|
+--> 0x30 L5-1 elements (AuthorizationData)
public ByteBuffer encode(ByteBuffer buffer) throws org.apache.directory.api.asn1.EncoderException
encode in interface org.apache.directory.api.asn1.Asn1Objectencode in class org.apache.directory.api.asn1.AbstractAsn1Objectbuffer - The buffer where to put the PDU. It should have been allocated
before, with the right size.org.apache.directory.api.asn1.EncoderExceptionpublic String toString()
toString in class ObjectObject.toString()public String toString(String tabs)
Object.toString()Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.