Package net.handle.hdllib.trust
Class AbstractRequiredSignerStore
- java.lang.Object
-
- net.handle.hdllib.trust.AbstractRequiredSignerStore
-
- Direct Known Subclasses:
FileBasedRequiredSignerStore
,InMemoryRequiredSignerStore
public abstract class AbstractRequiredSignerStore extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<JsonWebSignature>
requiredSigners
-
Constructor Summary
Constructors Constructor Description AbstractRequiredSignerStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JsonWebSignature>
getRequiredSignersAuthorizedOver(java.lang.String handle)
void
loadSigners()
boolean
needsLoadSigners()
protected boolean
validateSelfSignedCert(JsonWebSignature cert)
-
-
-
Field Detail
-
requiredSigners
protected volatile java.util.List<JsonWebSignature> requiredSigners
-
-
Method Detail
-
loadSigners
public void loadSigners()
-
needsLoadSigners
public boolean needsLoadSigners()
-
validateSelfSignedCert
protected boolean validateSelfSignedCert(JsonWebSignature cert) throws TrustException
- Throws:
TrustException
-
getRequiredSignersAuthorizedOver
public java.util.List<JsonWebSignature> getRequiredSignersAuthorizedOver(java.lang.String handle)
-
-