public class PrincipalNameEncoder extends Object
| Constructor and Description |
|---|
PrincipalNameEncoder() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.directory.shared.asn1.der.DERSequence |
encode(KerberosPrincipal principal)
Encodes a
KerberosPrincipal into a DERSequence. |
static org.apache.directory.shared.asn1.der.DERSequence |
encode(PrincipalName name)
Encodes a
PrincipalName into a DERSequence. |
public static org.apache.directory.shared.asn1.der.DERSequence encode(KerberosPrincipal principal)
KerberosPrincipal into a DERSequence.
PrincipalName ::= SEQUENCE {
name-type[0] INTEGER,
name-string[1] SEQUENCE OF GeneralString
}principal - DERSequence.public static org.apache.directory.shared.asn1.der.DERSequence encode(PrincipalName name)
PrincipalName into a DERSequence.name - DERSequence.Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.