← Back to plugin index

RSA Encryption

Description
String Cipher implementation using asymmetric encryption using an RSA private/public key pair.
Type name
RsaEncryption
Class
com.airlock.iam.core.misc.util.crypto.RsaEncryption
May be used by
Properties
Public Key File (publicKeyFile)
Description
The public key used to encrypt the password. Notice that it has to be in DER format.
Attributes
File/Path
Mandatory
Private Key File (privateKeyFile)
Description
The private key used to decrypt the password. Notice that it has to be in PKCS#8 DER format (not 'openSSL format'). If the private key file is encrypted, the passphrase has to be set below.

Such a key can for example be generated using:
openssl genrsa -des3 -out newkey.pem
openssl pkcs8 -topk8 -in newkey.pem -out encryptedprivatekey.key -outform der

Attributes
File/Path
Mandatory
Private Key Passphrase (privateKeyPassphrase)
Description
Passphrase to protect the private key file. If no passphrase is configured, it is assumed that the private key file is not password-protected.
Attributes
String
Optional
Sensitive
YAML Template (with default values)

type: RsaEncryption
id: RsaEncryption-xxxxxx
displayName: 
comment: 
properties:
  privateKeyFile:
  privateKeyPassphrase:
  publicKeyFile: