Class SymmetricKeyHandler
- java.lang.Object
-
- org.apache.cxf.sts.token.provider.SymmetricKeyHandler
-
public class SymmetricKeyHandler extends Object
Some common functionality relating to parsing and generating Symmetric Keys.
-
-
Constructor Summary
Constructors Constructor Description SymmetricKeyHandler(TokenProviderParameters tokenParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateSymmetricKey()Create the Symmetric Keybyte[]getEntropyBytes()Get the Entropy byteslonggetKeySize()Get the KeySize.byte[]getSecret()Get the secretbooleanisComputedKey()Get whether this is a computed key or not
-
-
-
Constructor Detail
-
SymmetricKeyHandler
public SymmetricKeyHandler(TokenProviderParameters tokenParameters)
-
-
Method Detail
-
createSymmetricKey
public void createSymmetricKey()
Create the Symmetric Key
-
getKeySize
public long getKeySize()
Get the KeySize.
-
getEntropyBytes
public byte[] getEntropyBytes()
Get the Entropy bytes
-
getSecret
public byte[] getSecret()
Get the secret
-
isComputedKey
public boolean isComputedKey()
Get whether this is a computed key or not
-
-