com.safmq
Class X509Identity

java.lang.Object
  extended by com.safmq.X509Identity

public class X509Identity
extends java.lang.Object

Represents an identity presented by an X509 Digital Certificate


Constructor Summary
X509Identity(java.lang.String subjectDN, java.lang.String issuerDN)
          Constructs the identity from a subject distinguished name and and issuer distinguished name.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getIssuerDN()
          Provides the Issuer DN
 java.lang.String getSubjectDN()
          Provides the Subject DN
 void setIssuerDN(java.lang.String issuerDN)
          Sets the issuer DN
 void setSubjectDN(java.lang.String subjectDN)
          Sets the Subject DN
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509Identity

public X509Identity(java.lang.String subjectDN,
                    java.lang.String issuerDN)
Constructs the identity from a subject distinguished name and and issuer distinguished name.

Parameters:
subjectDN - The Subject Distinguished Name
issuerDN - The Issuer Distinguished Name
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getIssuerDN

public java.lang.String getIssuerDN()
Provides the Issuer DN

Returns:
The Issuer DN

setIssuerDN

public void setIssuerDN(java.lang.String issuerDN)
Sets the issuer DN

Parameters:
issuerDN - The new value for the issuer DN

getSubjectDN

public java.lang.String getSubjectDN()
Provides the Subject DN

Returns:
The Subject DN

setSubjectDN

public void setSubjectDN(java.lang.String subjectDN)
Sets the Subject DN

Parameters:
subjectDN - The new value for the Subject DN

Copyright Matthew J. Battey, 2004-2010;
Powered By: Get SAFMQ: Store and Forward Message Queue at SourceForge.net. Fast, secure and Free Open Source software downloads