The exported name is useful when used in large access control lists where the overhead of creating a GSSName
object on each name and invoking the equals method on each name from the ACL may be prohibitive.
Exported names may be re-imported by using the byte array factory method {@link GSSManager#createName(byte[],Oid) GSSManager.createName} and specifying the NT_EXPORT_NAME as the nametype object identifier. The resulting GSSName
name will also be a MN.
@return a byte[] containing the exported name. RFC 2743 defines the"Mechanism-Independent Exported Name Object Format" for these bytes. @throws GSSException containing the following major error codes: {@link GSSException#BAD_NAME GSSException.BAD_NAME}, {@link GSSException#BAD_NAMETYPE GSSException.BAD_NAMETYPE}, {@link GSSException#FAILURE GSSException.FAILURE}
|
|