public class MacProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MacProperties.KeyWrappingAlgorithm
Key wrapping algorithms, which can be used in MAC integrity protection algorithm.
|
static class |
MacProperties.MacAlgorithm
MAC algorithms, which can be used during integrity protection operation.
|
static class |
MacProperties.MacDigestAlgorithm
Message digest algorithms, which can be used in MAC integrity protection algorithm.
|
| Constructor and Description |
|---|
MacProperties(MacProperties.MacDigestAlgorithm macDigestAlgorithm)
Creates
MacProperties class containing provided MacProperties.MacDigestAlgorithm. |
MacProperties(MacProperties.MacDigestAlgorithm macDigestAlgorithm,
MacProperties.MacAlgorithm macAlgorithm,
MacProperties.KeyWrappingAlgorithm keyWrappingAlgorithm)
Creates
MacProperties class containing provided properties. |
| Modifier and Type | Method and Description |
|---|---|
MacProperties.KeyWrappingAlgorithm |
getKeyWrappingAlgorithm()
Gets
MacProperties.KeyWrappingAlgorithm to be used in MAC integrity protection algorithm. |
MacProperties.MacAlgorithm |
getMacAlgorithm()
Gets
MacProperties.MacAlgorithm to be used in MAC integrity protection algorithm. |
MacProperties.MacDigestAlgorithm |
getMacDigestAlgorithm()
Gets
MacProperties.MacDigestAlgorithm to be used in MAC integrity protection algorithm. |
static String |
macDigestAlgorithmToString(MacProperties.MacDigestAlgorithm macDigestAlgorithm) |
public MacProperties(MacProperties.MacDigestAlgorithm macDigestAlgorithm)
MacProperties class containing provided MacProperties.MacDigestAlgorithm.
For other properties default values are used.macDigestAlgorithm - MacProperties.MacDigestAlgorithm to be used in MAC integrity protection algorithmpublic MacProperties(MacProperties.MacDigestAlgorithm macDigestAlgorithm, MacProperties.MacAlgorithm macAlgorithm, MacProperties.KeyWrappingAlgorithm keyWrappingAlgorithm)
MacProperties class containing provided properties.macDigestAlgorithm - MacProperties.MacDigestAlgorithm to be used in MAC integrity protection algorithmmacAlgorithm - MacProperties.MacAlgorithm to be used in MAC integrity protection algorithmkeyWrappingAlgorithm - MacProperties.KeyWrappingAlgorithm to be used in MAC integrity protection algorithmpublic MacProperties.MacDigestAlgorithm getMacDigestAlgorithm()
MacProperties.MacDigestAlgorithm to be used in MAC integrity protection algorithm.MacProperties.MacDigestAlgorithm to be used in MAC integrity protection algorithmpublic MacProperties.MacAlgorithm getMacAlgorithm()
MacProperties.MacAlgorithm to be used in MAC integrity protection algorithm.MacProperties.MacAlgorithm to be used in MAC integrity protection algorithmpublic MacProperties.KeyWrappingAlgorithm getKeyWrappingAlgorithm()
MacProperties.KeyWrappingAlgorithm to be used in MAC integrity protection algorithm.MacProperties.KeyWrappingAlgorithm to be used in MAC integrity protection algorithmpublic static String macDigestAlgorithmToString(MacProperties.MacDigestAlgorithm macDigestAlgorithm)
Copyright © 1998–2024 Apryse Group NV. All rights reserved.