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.Builderbuilder()BuildPem.Encryptioninstancesvoidclose()byte[]iv()The initialization vectorintkeySize()The key sizestatic Pem.Encryptionnone()Constant representing the absence of encryptionThe encryption passphrase
-
Method Details
-
none
Constant representing the absence of encryption- Returns:
- Encryption instance
-
builder
BuildPem.Encryptioninstances- Returns:
- Builder instance
-
close
public void close()- Specified by:
closein 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
-