|
Bouncy Castle Cryptography Library 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.cert.crmf.EncryptedValueParser
public class EncryptedValueParser
Parser for EncryptedValue structures.
Constructor Summary | |
---|---|
EncryptedValueParser(org.bouncycastle.asn1.crmf.EncryptedValue value)
Basic constructor - create a parser to read the passed in value. |
|
EncryptedValueParser(org.bouncycastle.asn1.crmf.EncryptedValue value,
EncryptedValuePadder padder)
Create a parser to read the passed in value, assuming the padder was applied to the data prior to encryption. |
Method Summary | |
---|---|
X509CertificateHolder |
readCertificateHolder(ValueDecryptorGenerator decGen)
Read a X.509 certificate. |
char[] |
readPassphrase(ValueDecryptorGenerator decGen)
Read a pass phrase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptedValueParser(org.bouncycastle.asn1.crmf.EncryptedValue value)
value
- the value to be parsed.public EncryptedValueParser(org.bouncycastle.asn1.crmf.EncryptedValue value, EncryptedValuePadder padder)
value
- the value to be parsed.padder
- the padder to be used to remove padding from the decrypted value..Method Detail |
---|
public X509CertificateHolder readCertificateHolder(ValueDecryptorGenerator decGen) throws CRMFException
decGen
- the decryptor generator to decrypt the encrypted value.
CRMFException
- if the decrypted data cannot be parsed, or a decryptor cannot be generated.public char[] readPassphrase(ValueDecryptorGenerator decGen) throws CRMFException
decGen
- the decryptor generator to decrypt the encrypted value.
CRMFException
- if the decrypted data cannot be parsed, or a decryptor cannot be generated.
|
Bouncy Castle Cryptography Library 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |