public static class RequestorInfo.CmpRequestorInfo extends Object implements RequestorInfo
RequestorInfo.ByCaRequestorInfo, RequestorInfo.ByUserRequestorInfo, RequestorInfo.CmpRequestorInfoNAME_BY_CA, NAME_BY_USER| Constructor and Description |
|---|
CmpRequestorInfo(CaHasRequestorEntry caHasRequestor,
CertWithDbId cert) |
CmpRequestorInfo(CaHasRequestorEntry caHasRequestor,
char[] password,
byte[] keyId) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertCertprofilePermitted(String certprofile) |
void |
assertPermitted(int permission) |
CaHasRequestorEntry |
getCaHasRequestor() |
CertWithDbId |
getCert() |
NameId |
getIdent() |
byte[] |
getKeyId() |
char[] |
getPassword() |
boolean |
isCertprofilePermitted(String certprofile) |
boolean |
isPermitted(int permission) |
boolean |
isRa() |
public CmpRequestorInfo(CaHasRequestorEntry caHasRequestor, CertWithDbId cert)
public CmpRequestorInfo(CaHasRequestorEntry caHasRequestor, char[] password, byte[] keyId)
public CaHasRequestorEntry 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 © 2020. All rights reserved.