public final class BasicVOMSTrustStore extends java.lang.Object implements ACTrustStore
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_TRUST_STORE_LISTING
Deprecated.
|
| Constructor and Description |
|---|
BasicVOMSTrustStore()
Deprecated.
Creates a default VOMS trust store.
|
BasicVOMSTrustStore(java.lang.String trustedDirList,
long refreshPeriod)
Deprecated.
Creates and manages an in-memory cache of VOMS issuers by
periodically scanning a directory containing the trusted
issuers.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.cert.X509Certificate[] |
getAACandidate(javax.security.auth.x500.X500Principal issuer)
Deprecated.
Returns an array of issuer candidates, by performing a name
comparison of the AC's issuer and the subject names of the
certificates in the trust store.
|
java.lang.String |
getDirList()
Deprecated.
|
void |
refresh()
Deprecated.
Refreshes the in-memory cache of trusted signer certificates.
|
void |
stopRefresh()
Deprecated.
|
public static final java.lang.String DEFAULT_TRUST_STORE_LISTING
public BasicVOMSTrustStore()
new BasicVOMSTrustStore(DEFAULT_TRUST_STORE_LISTING, 300000);public BasicVOMSTrustStore(java.lang.String trustedDirList,
long refreshPeriod)
refreshPeriod is 0, it never refreshes.trustedDirList - directory listing containing trusted VOMS certsrefreshPeriod - refresh period in millisecondsDirectoryListpublic java.lang.String getDirList()
public void stopRefresh()
public void refresh()
public java.security.cert.X509Certificate[] getAACandidate(javax.security.auth.x500.X500Principal issuer)
ACTrustStoregetAACandidate in interface ACTrustStoreissuer - the principal to find an issuer for.
If null, all known AAs will be returned.null in
case of an error.Copyright © 2013. All Rights Reserved.