Class Spake2PlusKeyManager
java.lang.Object
org.conscrypt.Spake2PlusKeyManager
- All Implemented Interfaces:
KeyManager
Provider of key material for Spake2Plus
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private final intprivate final byte[]private final byte[]private final booleanprivate final byte[] -
Constructor Summary
ConstructorsConstructorDescriptionSpake2PlusKeyManager(byte[] context, byte[] password, byte[] idProver, byte[] idVerifier, boolean isClient, int handshakeLimit) -
Method Summary
Modifier and TypeMethodDescriptionchooseEngineAlias(String keyType, Principal[] issuers, SSLEngine engine) chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) byte[]intbyte[]byte[]byte[]booleanisClient()
-
Field Details
-
context
private final byte[] context -
password
private final byte[] password -
idProver
private final byte[] idProver -
idVerifier
private final byte[] idVerifier -
isClient
private final boolean isClient -
handshakeLimit
private final int handshakeLimit
-
-
Constructor Details
-
Spake2PlusKeyManager
Spake2PlusKeyManager(byte[] context, byte[] password, byte[] idProver, byte[] idVerifier, boolean isClient, int handshakeLimit)
-
-
Method Details
-
chooseEngineAlias
-
chooseEngineClientAlias
-
getContext
public byte[] getContext() -
getPassword
public byte[] getPassword() -
getIdProver
public byte[] getIdProver() -
getIdVerifier
public byte[] getIdVerifier() -
isClient
public boolean isClient() -
getHandshakeLimit
public int getHandshakeLimit()
-