| Package | Description |
|---|---|
| com.mulesoft.modules.cryptography.api.pgp.config | |
| com.mulesoft.modules.cryptography.internal.pgp |
| Modifier and Type | Method and Description |
|---|---|
PgpKeyInfo |
PgpKeySelection.getKeyInfo(PgpConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
PgpOperations.pgpDecrypt(PgpConfiguration config,
InputStream content,
String fileName,
boolean validateIfSignatureFound)
Decrypt a stream using PGP, giving the original data as a result.
|
InputStream |
PgpOperations.pgpEncrypt(PgpConfiguration config,
InputStream content,
PgpEncryptionAlgorithm algorithm,
String fileName,
PgpKeySelection keySelection,
boolean disableMDC)
Encrypt a stream using PGP, giving an ASCII-armored stream output as a result.
|
InputStream |
PgpOperations.pgpEncryptAndSign(PgpConfiguration config,
InputStream content,
PgpEncryptionAlgorithm algorithm,
String fileName,
PgpKeySelection encryptionKeySelection,
PgpKeySelection signKeySelection,
boolean disableMDC)
Encrypt a stream using PGP, giving an ASCII-armored stream output as a result.
|
InputStream |
PgpOperations.pgpEncryptBinary(PgpConfiguration config,
InputStream content,
PgpEncryptionAlgorithm algorithm,
String fileName,
PgpKeySelection keySelection,
boolean disableMDC)
Encrypt a stream using PGP, giving a binary output as a result.
|
InputStream |
PgpOperations.pgpSign(PgpConfiguration config,
InputStream content,
PgpSignatureAlgorithm algorithm,
PgpKeySelection keySelection)
Create a detached (standalone) PGP signature of the stream.
|
InputStream |
PgpOperations.pgpSignBinary(PgpConfiguration config,
InputStream content,
PgpSignatureAlgorithm algorithm,
PgpKeySelection keySelection)
Create a detached (standalone) PGP signature of the stream.
|
void |
PgpOperations.pgpValidate(PgpConfiguration config,
InputStream value,
InputStream expected)
Validate a PGP signature against a stream, to authenticate it.
|
| Constructor and Description |
|---|
PgpEncrypter(PgpConfiguration config) |
PgpSigner(PgpConfiguration config) |
Copyright © 2024 MuleSoft, Inc.. All rights reserved.