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
IOExceptionpublic String getIssuer()
getIssuer in interface NamespacePolicypublic String getSuject()
public boolean isPermit()
isPermit in interface NamespacePolicypublic String getIdentification()
getIdentification in interface NamespacePolicypublic boolean isSubjectMatching(X500Principal subject)
isSubjectMatching in interface NamespacePolicysubject - to be checkedpublic String getDefinedFor()
getDefinedFor in interface NamespacePolicyNamespacePolicy.getIssuer() hash or it may be its parent CA subject name hash, if the namespace was defined in
its namespaces file.Copyright © 2012-2014 European Middleware Initiative. All Rights Reserved.