| Package | Description |
|---|---|
| network.oxalis.statistics.security |
| Modifier and Type | Method and Description |
|---|---|
OxalisCipher |
OxalisCipherConverter.createCipherFromWrappedHexKey(String wrappedSymmetricKeyAsHexString,
PrivateKey privateKey)
Creates an instance of OxalisCipher:
Decodes the supplied hex string representation of a wrapped key into an array of bytes representation
Creates a cipher, which is initialized with a private key
Unwraps (decrypts) the secret key represented by an array of bytes into a SecretKey
Creates an OxalisCipher using the unwrapped SecretKey
|
| Modifier and Type | Method and Description |
|---|---|
String |
OxalisCipherConverter.getWrappedSymmetricKeyAsString(PublicKey publicKey,
OxalisCipher oxalisCipher)
Encrypts the secret key (symmetric key) held inside the OxalisCipher instance using the supplied PublicKey, after
which the resulting wrapped secret key is transformed into a hex string suitable for transmission, persistence etc.
|
Copyright © 2021 NorStella. All rights reserved.