public final class BasicVOMSTrustStore extends Object implements ACTrustStore
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TRUST_STORE_LISTING
Deprecated.
|
| Constructor and Description |
|---|
BasicVOMSTrustStore()
Deprecated.
Creates a default VOMS trust store.
|
BasicVOMSTrustStore(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 |
|---|---|
X509Certificate[] |
getAACandidate(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.
|
String |
getDirList()
Deprecated.
|
void |
refresh()
Deprecated.
Refreshes the in-memory cache of trusted signer certificates.
|
void |
stopRefresh()
Deprecated.
|
public static final String DEFAULT_TRUST_STORE_LISTING
public BasicVOMSTrustStore()
new BasicVOMSTrustStore(DEFAULT_TRUST_STORE_LISTING, 300000);public BasicVOMSTrustStore(String trustedDirList, long refreshPeriod)
refreshPeriod is 0, it never refreshes.trustedDirList - directory listing containing trusted VOMS certsrefreshPeriod - refresh period in millisecondsDirectoryListpublic String getDirList()
public void stopRefresh()
public void refresh()
public X509Certificate[] getAACandidate(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 © 2014. All rights reserved.