Class CryptoConfig
java.lang.Object
ai.nightfall.scan.model.redaction.CryptoConfig
An object that specifies how findings should be encrypted when returned by the API. Currently, encryption
is only supported for RSA public keys.
-
Constructor Summary
ConstructorsConstructorDescriptionCryptoConfig(String publicKey) Builds a configuration object with the provided PEM-formatted RSA public key. -
Method Summary
Modifier and TypeMethodDescriptionGet the public key.voidsetPublicKey(String publicKey) Set the public key.toString()
-
Constructor Details
-
CryptoConfig
Builds a configuration object with the provided PEM-formatted RSA public key.- Parameters:
publicKey- a PEM-formatted RSA public key.
-
-
Method Details