Package oracle.nosql.driver.iam.pki
Class Pem.Encryption
java.lang.Object
oracle.nosql.driver.iam.pki.Pem.Encryption
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- Pem
Configures how private keys are encrypted
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe encryption algorithmThe block modestatic Pem.Encryption.Builder
builder()
BuildPem.Encryption
instancesvoid
close()
byte[]
iv()
The initialization vectorint
keySize()
The key sizestatic Pem.Encryption
none()
Constant representing the absence of encryptionThe encryption passphrase
-
Method Details
-
none
Constant representing the absence of encryption- Returns:
- Encryption instance
-
builder
BuildPem.Encryption
instances- Returns:
- Builder instance
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
algorithm
The encryption algorithm- Returns:
- Encryption algorithm name
-
keySize
public int keySize()The key size- Returns:
- Key size in bits
-
iv
public byte[] iv()The initialization vector- Returns:
- Initialization vector
-
blockMode
The block mode- Returns:
- The block mode name
-
passphrase
The encryption passphrase- Returns:
- The passphrase
-