public static class RequestorInfo.CmpRequestorInfo extends Object implements RequestorInfo
RequestorInfo.ByCaRequestorInfo, RequestorInfo.ByUserRequestorInfo, RequestorInfo.CmpRequestorInfoNAME_BY_CA, NAME_BY_USER| Constructor and Description |
|---|
CmpRequestorInfo(MgmtEntry.CaHasRequestor caHasRequestor,
CertWithDbId cert) |
CmpRequestorInfo(MgmtEntry.CaHasRequestor caHasRequestor,
char[] password,
byte[] keyId) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertCertprofilePermitted(String certprofile) |
void |
assertPermitted(int permission) |
MgmtEntry.CaHasRequestor |
getCaHasRequestor() |
CertWithDbId |
getCert() |
NameId |
getIdent() |
byte[] |
getKeyId() |
char[] |
getPassword() |
boolean |
isCertprofilePermitted(String certprofile) |
boolean |
isPermitted(int permission) |
boolean |
isRa() |
public CmpRequestorInfo(MgmtEntry.CaHasRequestor caHasRequestor, CertWithDbId cert)
public CmpRequestorInfo(MgmtEntry.CaHasRequestor caHasRequestor, char[] password, byte[] keyId)
public MgmtEntry.CaHasRequestor getCaHasRequestor()
public CertWithDbId getCert()
public char[] getPassword()
public byte[] getKeyId()
public NameId getIdent()
getIdent in interface RequestorInfopublic boolean isRa()
isRa in interface RequestorInfopublic boolean isCertprofilePermitted(String certprofile)
isCertprofilePermitted in interface RequestorInfopublic boolean isPermitted(int permission)
isPermitted in interface RequestorInfopublic void assertCertprofilePermitted(String certprofile) throws InsuffientPermissionException
assertCertprofilePermitted in interface RequestorInfoInsuffientPermissionExceptionpublic void assertPermitted(int permission)
throws InsuffientPermissionException
assertPermitted in interface RequestorInfoInsuffientPermissionExceptionCopyright © 2019. All rights reserved.