public class GSSUtils extends Object
Modifier and Type | Field and Description |
---|---|
static sun.security.util.ObjectIdentifier |
GSS_NT_EXPORT_NAME_OID |
static sun.security.util.ObjectIdentifier |
GSS_NT_SCOPED_USERNAME_OID |
static sun.security.util.ObjectIdentifier |
GSSUP_MECH_OID |
Constructor and Description |
---|
GSSUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
createExportedName(sun.security.util.ObjectIdentifier oid,
byte[] extName) |
static byte[] |
createMechIndToken(sun.security.util.ObjectIdentifier mechoid,
byte[] mechtok) |
static String |
dumpHex(byte[] octets) |
static byte[] |
getDER(sun.security.util.ObjectIdentifier id) |
static byte[] |
getMechanism()
Return the ASN.1 encoded representation of a GSS mechanism identifier.
|
static byte[] |
getMechToken(sun.security.util.ObjectIdentifier oid,
byte[] token) |
static sun.security.util.ObjectIdentifier |
getOID(byte[] derOID) |
static byte[] |
importName(sun.security.util.ObjectIdentifier oid,
byte[] externalName) |
static void |
main(String[] args) |
static boolean |
verifyMechOID(sun.security.util.ObjectIdentifier oid,
byte[] externalName) |
public static final sun.security.util.ObjectIdentifier GSSUP_MECH_OID
public static final sun.security.util.ObjectIdentifier GSS_NT_EXPORT_NAME_OID
public static final sun.security.util.ObjectIdentifier GSS_NT_SCOPED_USERNAME_OID
public static String dumpHex(byte[] octets)
public static byte[] importName(sun.security.util.ObjectIdentifier oid, byte[] externalName) throws IOException
IOException
public static boolean verifyMechOID(sun.security.util.ObjectIdentifier oid, byte[] externalName) throws IOException
IOException
public static byte[] createExportedName(sun.security.util.ObjectIdentifier oid, byte[] extName) throws IOException
IOException
public static byte[] getDER(sun.security.util.ObjectIdentifier id) throws IOException
IOException
public static sun.security.util.ObjectIdentifier getOID(byte[] derOID) throws IOException
IOException
public static byte[] createMechIndToken(sun.security.util.ObjectIdentifier mechoid, byte[] mechtok) throws IOException
IOException
public static byte[] getMechToken(sun.security.util.ObjectIdentifier oid, byte[] token)
public static byte[] getMechanism()
public static void main(String[] args)
Copyright © 2018. All rights reserved.