| |
|
| java.lang.Object com.sun.jbi.security.X500PrincipalWrapper com.sun.jbi.security.SSLClientPrincipal
SSLClientPrincipal | public class SSLClientPrincipal extends X500PrincipalWrapper implements java.security.Principal,java.io.Serializable(Code) | | This is a Principal class created soley to add a SSLClientPrincipal Type.
The name of this Principal is the Subject DN from the SSL Clients Public Key
Certificate, i.e. the certificate used for SSL Client Authentication.
This is a wrapper around X500 Principal.
author: Sun Microsystems, Inc. |
Method Summary | |
public boolean | equals(Object o) Compares the specified Object with this X500Principal for equality. | public int | hashCode() Return a hash code for this X500Principal. |
SSLClientPrincipal | public SSLClientPrincipal(byte[] name)(Code) | | Creates a new instance of SSLClientPrincipal.
Parameters: name - a byte array containing the distinguished name in ASN.1 DERencoded form. See Also: javax.security.auth.x500.X500Principal |
equals | public boolean equals(Object o)(Code) | | Compares the specified Object with this X500Principal for equality.
Specifically, this method returns true if the Object o is an X500Principal
and if the respective canonical string representations (obtained via the
getName(X500Principal.CANONICAL) method) of this object and o are equal.
Parameters: o - obj to compare with true if the specified Object is equal to this X500Principal,false otherwise |
hashCode | public int hashCode()(Code) | | Return a hash code for this X500Principal.
The hash code is calculated via: getName(X500Principal.CANONICAL).hashCode()
a hash code for this X500Principal. |
|
|
|