public class PbmMacCmpCaClient extends CmpCaClient
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
kid |
protected char[] |
password |
responderSubject| Constructor and Description |
|---|
PbmMacCmpCaClient(String caUri,
X509Certificate caCert,
org.bouncycastle.asn1.x500.X500Name requestorSubject,
org.bouncycastle.asn1.x500.X500Name responderSubject,
String hashAlgo) |
| Modifier and Type | Method and Description |
|---|---|
protected org.bouncycastle.cert.cmp.ProtectedPKIMessage |
build(org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder builder) |
protected byte[] |
decrypt(org.bouncycastle.asn1.crmf.EncryptedValue ev) |
byte[] |
getKid() |
char[] |
getPassword() |
int |
getRequestInterationCount() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getRequestMac() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getRequestOwf() |
Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> |
getTrustedMacOids() |
Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> |
getTrustedOwfOids() |
void |
setKid(byte[] kid) |
void |
setPassword(char[] password) |
void |
setRequestInterationCount(int requestInterationCount) |
void |
setRequestMac(org.bouncycastle.asn1.x509.AlgorithmIdentifier requestMac) |
void |
setRequestOwf(org.bouncycastle.asn1.x509.AlgorithmIdentifier requestOwf) |
void |
setTrustedMacOids(Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> trustedMacOids) |
void |
setTrustedOwfOids(Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> trustedOwfOids) |
protected boolean |
verifyProtection(org.bouncycastle.cert.cmp.GeneralPKIMessage pkiMessage) |
buildSigner, enrollCertsViaCrmf, enrollCertsViaCrmfCaGenKeypair, enrollCertViaCrmf, enrollCertViaCrmfCaGenKeypair, enrollCertViaCsr, getCaCert, init, revokeCert, send, shutdown, unrevokeCert, updateCertsViaCrmf, updateCertsViaCrmfCaGenKeypair, updateCertViaCrmf, updateCertViaCrmfCaGenKeypairpublic PbmMacCmpCaClient(String caUri, X509Certificate caCert, org.bouncycastle.asn1.x500.X500Name requestorSubject, org.bouncycastle.asn1.x500.X500Name responderSubject, String hashAlgo) throws Exception
Exceptionpublic byte[] getKid()
public void setKid(byte[] kid)
public char[] getPassword()
public void setPassword(char[] password)
public Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> getTrustedOwfOids()
public void setTrustedOwfOids(Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> trustedOwfOids)
public Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> getTrustedMacOids()
public void setTrustedMacOids(Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> trustedMacOids)
public int getRequestInterationCount()
public void setRequestInterationCount(int requestInterationCount)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getRequestOwf()
public void setRequestOwf(org.bouncycastle.asn1.x509.AlgorithmIdentifier requestOwf)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getRequestMac()
public void setRequestMac(org.bouncycastle.asn1.x509.AlgorithmIdentifier requestMac)
protected boolean verifyProtection(org.bouncycastle.cert.cmp.GeneralPKIMessage pkiMessage)
throws org.bouncycastle.cert.cmp.CMPException,
InvalidKeyException
verifyProtection in class CmpCaClientorg.bouncycastle.cert.cmp.CMPExceptionInvalidKeyExceptionprotected byte[] decrypt(org.bouncycastle.asn1.crmf.EncryptedValue ev)
throws Exception
decrypt in class CmpCaClientExceptionprotected org.bouncycastle.cert.cmp.ProtectedPKIMessage build(org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder builder)
throws Exception
build in class CmpCaClientExceptionCopyright © 2018. All rights reserved.