public class IAIKPKCS11Ssl3KeyContainer
extends java.lang.Object
implements javax.crypto.SecretKey
Constructor and Description |
---|
IAIKPKCS11Ssl3KeyContainer(TokenManager tokenManager,
iaik.pkcs.pkcs11.objects.SecretKey clientMacSecret,
iaik.pkcs.pkcs11.objects.SecretKey clientSecret,
byte[] clientIV,
iaik.pkcs.pkcs11.objects.SecretKey serverMacSecret,
iaik.pkcs.pkcs11.objects.SecretKey serverSecret,
byte[] serverIV)
Instantiates a new SSL3 key container.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getClientIv_()
Gets the client iv_.
|
IAIKPKCS11SecretKey |
getClientMacSecret_()
Gets the client mac secret_.
|
IAIKPKCS11SecretKey |
getClientSecret_()
Gets the client secret_.
|
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
byte[] |
getServerIv_()
Gets the server iv_.
|
IAIKPKCS11SecretKey |
getServerMacSecret_()
Gets the server mac secret_.
|
IAIKPKCS11SecretKey |
getServerSecret_()
Gets the server secret_.
|
public IAIKPKCS11Ssl3KeyContainer(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.SecretKey clientMacSecret, iaik.pkcs.pkcs11.objects.SecretKey clientSecret, byte[] clientIV, iaik.pkcs.pkcs11.objects.SecretKey serverMacSecret, iaik.pkcs.pkcs11.objects.SecretKey serverSecret, byte[] serverIV)
tokenManager
- the token managerclientMacSecret
- the client mac secretclientSecret
- the client secretclientIV
- the client ivserverMacSecret
- the server mac secretserverSecret
- the server secretserverIV
- the server ivpublic byte[] getClientIv_()
public IAIKPKCS11SecretKey getClientMacSecret_()
public IAIKPKCS11SecretKey getClientSecret_()
public byte[] getServerIv_()
public IAIKPKCS11SecretKey getServerMacSecret_()
public IAIKPKCS11SecretKey getServerSecret_()
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
IAIK JavaSecurity Website https://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. Version 1.9.4