Package com.sun.identity.saml2.key
Class EncInfo
- java.lang.Object
-
- com.sun.identity.saml2.key.EncInfo
-
public class EncInfo extends Object
EncInfois a class for keeping encryption information such as the key-wrapping key, the data encryption algorithm, and data encryption key strength.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDataEncAlgorithm()Returns the algorithm for data encryption.intgetDataEncStrength()Returns the key strength for data encryption.KeygetWrappingKey()Returns the key for encrypting the secret key.
-
-
-
Method Detail
-
getWrappingKey
public Key getWrappingKey()
Returns the key for encrypting the secret key.- Returns:
Keyfor encrypting/wrapping the secretKey
-
getDataEncAlgorithm
public String getDataEncAlgorithm()
Returns the algorithm for data encryption.- Returns:
Stringfor data encryption algorithm
-
getDataEncStrength
public int getDataEncStrength()
Returns the key strength for data encryption.- Returns:
intfor data encryption strength
-
-