public class OpensslNamespacePolicyImpl extends Object implements NamespacePolicy
Constructor and Description |
---|
OpensslNamespacePolicyImpl(String issuer,
String subject,
String definedForSubject,
boolean permit,
String identification) |
Modifier and Type | Method and Description |
---|---|
String |
getDefinedFor() |
String |
getIdentification() |
String |
getIssuer() |
String |
getSuject() |
boolean |
isPermit() |
boolean |
isSubjectMatching(X500Principal subject)
Checks whether the given subject name is matching this policy.
|
public OpensslNamespacePolicyImpl(String issuer, String subject, String definedForSubject, boolean permit, String identification) throws IOException
IOException
public String getIssuer()
getIssuer
in interface NamespacePolicy
public String getSuject()
public boolean isPermit()
isPermit
in interface NamespacePolicy
public String getIdentification()
getIdentification
in interface NamespacePolicy
public boolean isSubjectMatching(X500Principal subject)
isSubjectMatching
in interface NamespacePolicy
subject
- to be checkedpublic String getDefinedFor()
getDefinedFor
in interface NamespacePolicy
NamespacePolicy.getIssuer()
hash or it may be its parent CA subject name hash, if the namespace was defined in
its namespaces file.Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.