com.sun.enterprise.iiop.security
Class GSSUtils
java.lang.Object
com.sun.enterprise.iiop.security.GSSUtils
public class GSSUtils
- extends java.lang.Object
|
Method Summary |
static byte[] |
createExportedName(sun.security.util.ObjectIdentifier oid,
byte[] extName)
|
static byte[] |
createMechIndToken(sun.security.util.ObjectIdentifier mechoid,
byte[] mechtok)
|
static java.lang.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(java.lang.String[] args)
|
static boolean |
verifyMechOID(sun.security.util.ObjectIdentifier oid,
byte[] externalName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GSSUP_MECH_OID
public static final sun.security.util.ObjectIdentifier GSSUP_MECH_OID
GSS_NT_EXPORT_NAME_OID
public static final sun.security.util.ObjectIdentifier GSS_NT_EXPORT_NAME_OID
GSS_NT_SCOPED_USERNAME_OID
public static final sun.security.util.ObjectIdentifier GSS_NT_SCOPED_USERNAME_OID
GSSUtils
public GSSUtils()
dumpHex
public static java.lang.String dumpHex(byte[] octets)
importName
public static byte[] importName(sun.security.util.ObjectIdentifier oid,
byte[] externalName)
throws java.io.IOException
- Throws:
java.io.IOException
verifyMechOID
public static boolean verifyMechOID(sun.security.util.ObjectIdentifier oid,
byte[] externalName)
throws java.io.IOException
- Throws:
java.io.IOException
createExportedName
public static byte[] createExportedName(sun.security.util.ObjectIdentifier oid,
byte[] extName)
throws java.io.IOException
- Throws:
java.io.IOException
getDER
public static byte[] getDER(sun.security.util.ObjectIdentifier id)
throws java.io.IOException
- Throws:
java.io.IOException
getOID
public static sun.security.util.ObjectIdentifier getOID(byte[] derOID)
throws java.io.IOException
- Throws:
java.io.IOException
createMechIndToken
public static byte[] createMechIndToken(sun.security.util.ObjectIdentifier mechoid,
byte[] mechtok)
throws java.io.IOException
- Throws:
java.io.IOException
getMechToken
public static byte[] getMechToken(sun.security.util.ObjectIdentifier oid,
byte[] token)
getMechanism
public static byte[] getMechanism()
- Return the ASN.1 encoded representation of a GSS mechanism identifier.
Currently only the GSSUP Mechanism is supported.
main
public static void main(java.lang.String[] args)
Copyright © 2012 GlassFish Community. All Rights Reserved.