Package org.conscrypt
Class ScryptSecretKeyFactory.ScryptKey
- java.lang.Object
-
- org.conscrypt.ScryptSecretKeyFactory.ScryptKey
-
- All Implemented Interfaces:
java.io.Serializable,java.security.Key,javax.crypto.SecretKey,javax.security.auth.Destroyable
- Enclosing class:
- ScryptSecretKeyFactory
private static class ScryptSecretKeyFactory.ScryptKey extends java.lang.Object implements javax.crypto.SecretKey
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]keyprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ScryptKey(byte[] key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlgorithm()byte[]getEncoded()java.lang.StringgetFormat()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
key
private final byte[] key
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithmin interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfacejava.security.Key
-
-