| |
|
| java.lang.Object com.sun.jbi.security.X500PrincipalWrapper com.sun.jbi.security.MsgSignerPrincipal
MsgSignerPrincipal | public class MsgSignerPrincipal extends X500PrincipalWrapper implements java.security.Principal,java.io.Serializable(Code) | | This is a Principal class created soley to add a MsgSignerPrincipal Type.
The name of this Principal is the Subject DN from the ( Message ) Signers Public Key
Certificate.
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.
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. | public int | hashCode() Return a hash code for this X500Principal. |
MsgSignerPrincipal | public MsgSignerPrincipal(byte[] name)(Code) | | Creates a new instance of MsgSignerPrincipal.
Parameters: name - a byte array containing the distinguished name in ASN.1 DER encoded 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 - object to compare 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. |
|
|
|