|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.security.PKCRepository
public class PKCRepository
This class is the interface to a repository of X.509 PKCs. It wraps an AttributeRepository to do the actual certificate retrieval.
Field Summary | |
---|---|
static java.lang.String |
CA_PKC_ATTRIBUTE
This is the name of the caCertificate attribute, compatible with LDAPv3 naming convention ("caCertificate"). |
static java.lang.String |
USER_PKC_ATTRIBUTE
This is the name of the userCertificate attribute, compatible with LDAPv3 naming convention ("userCertificate"). |
Constructor Summary | |
---|---|
protected |
PKCRepository()
|
|
PKCRepository(AttributeRepository ar)
This constructor builds a PKCRepository given the AttributeRepository to retrieve the certificates from. |
Method Summary | |
---|---|
javax.naming.directory.Attribute |
getCACertificate(TokenLocator subject)
This method returns the CA Certificates given the TokenLocator, pointing to the entry of the principal in question. |
javax.naming.directory.Attribute |
getUserCertificate(TokenLocator subject)
This method returns the User Certificates given the TokenLocator, pointing to the entry of the principal in question. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String USER_PKC_ATTRIBUTE
public static java.lang.String CA_PKC_ATTRIBUTE
Constructor Detail |
---|
protected PKCRepository()
public PKCRepository(AttributeRepository ar)
ar
- - the AttributeRepository to retrieve the certificates fromMethod Detail |
---|
public javax.naming.directory.Attribute getUserCertificate(TokenLocator subject) throws RepositoryException
subject
- - the TokenLocator indicating the entry with the
certificates
RepositoryException
public javax.naming.directory.Attribute getCACertificate(TokenLocator subject) throws RepositoryException
subject
- - the TokenLocator indicating the entry with the
certificates
RepositoryException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |