| Modifier and Type | Field and Description |
|---|---|
| private EncryptedValuePadder | |
| private EncryptedValue |
| Access | Constructor and Description |
|---|---|
| public | EncryptedValueParser(EncryptedValue
the value to be parsed. value)Basic constructor - create a parser to read the passed in value. |
| public | EncryptedValueParser(EncryptedValue
the value to be parsed. value, EncryptedValuePadder the padder to be used to remove padding from the decrypted value.. padder)Create a parser to read the passed in value, assuming the padder was applied to the data prior to encryption. |
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| public AlgorithmIdentifier | |
| public X509CertificateHolder | Returns: an X509CertificateHolder containing the certificate read.the decryptor generator to decrypt the encrypted value. decGen)Read a X.509 certificate. |
| public char[] | Returns: a pass phrase as recovered from the encrypted value.the decryptor generator to decrypt the encrypted value. decGen)Read a pass phrase. |
| public PrivateKeyInfo | Returns: an PrivateKeyInfo containing the private key that was read.the decryptor generator to decrypt the encrypted value. decGen)Read a PKCS#8 PrivateKeyInfo. |
| padder | back to summary |
|---|---|
| private EncryptedValuePadder padder | |
| value | back to summary |
|---|---|
| private EncryptedValue value | |
| EncryptedValueParser | back to summary |
|---|---|
| public EncryptedValueParser(EncryptedValue value) Basic constructor - create a parser to read the passed in value.
| |
| EncryptedValueParser | back to summary |
|---|---|
| public EncryptedValueParser(EncryptedValue value, EncryptedValuePadder padder) Create a parser to read the passed in value, assuming the padder was applied to the data prior to encryption.
| |
| decryptValue | back to summary |
|---|---|
| private byte[] decryptValue(ValueDecryptorGenerator decGen) throws CRMFException | |
| getIntendedAlg | back to summary |
|---|---|
| public AlgorithmIdentifier getIntendedAlg() | |
| readCertificateHolder | back to summary |
|---|---|
| public X509CertificateHolder readCertificateHolder(ValueDecryptorGenerator decGen) throws CRMFException Read a X.509 certificate.
| |
| readPassphrase | back to summary |
|---|---|
| public char[] readPassphrase(ValueDecryptorGenerator decGen) throws CRMFException Read a pass phrase.
| |
| readPrivateKeyInfo | back to summary |
|---|---|
| public PrivateKeyInfo readPrivateKeyInfo(ValueDecryptorGenerator decGen) throws CRMFException Read a PKCS#8 PrivateKeyInfo.
| |