|
|||||||||
Home >> All >> cryptix >> sasl >> [ srp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
cryptix.sasl.srp
Class SRPContext

java.lang.Objectcryptix.sasl.srp.SRPContext
- All Implemented Interfaces:
- java.security.spec.AlgorithmParameterSpec
- class SRPContext
- extends java.lang.Object
- implements java.security.spec.AlgorithmParameterSpec
- extends java.lang.Object
A class that wraps SASL Security Context parameters for an SRP mechanism.
- Since:
- draft-naffah-cat-sasl-sm2-00
- Version:
- $Revision: 1.5 $
Field Summary | |
private java.util.zip.Adler32 |
adler
|
private CALG |
inCipher
|
private int |
inCounter
|
private IALG |
inMac
|
private javax.crypto.SecretKey |
K
|
private CALG |
outCipher
|
private int |
outCounter
|
private IALG |
outMac
|
private boolean |
replayDetection
|
Constructor Summary | |
(package private) |
SRPContext(javax.crypto.SecretKey K,
boolean replayDetection,
int inCounter,
int outCounter,
IALG inMac,
IALG outMac,
CALG inCipher,
CALG outCipher)
|
Method Summary | |
(package private) CALG |
getIncomingCipher()
|
(package private) int |
getIncomingCounter()
|
(package private) IALG |
getIncomingMac()
|
(package private) javax.crypto.SecretKey |
getK()
|
(package private) CALG |
getOutgoingCipher()
|
(package private) int |
getOutgoingCounter()
|
(package private) IALG |
getOutgoingMac()
|
byte[] |
getSignature()
|
(package private) boolean |
hasReplayDetection()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
K
private javax.crypto.SecretKey K
replayDetection
private boolean replayDetection
inCounter
private int inCounter
outCounter
private int outCounter
inMac
private IALG inMac
outMac
private IALG outMac
inCipher
private CALG inCipher
outCipher
private CALG outCipher
adler
private java.util.zip.Adler32 adler
Constructor Detail |
SRPContext
SRPContext(javax.crypto.SecretKey K, boolean replayDetection, int inCounter, int outCounter, IALG inMac, IALG outMac, CALG inCipher, CALG outCipher)
Method Detail |
getK
javax.crypto.SecretKey getK()
hasReplayDetection
boolean hasReplayDetection()
getIncomingCounter
int getIncomingCounter()
getOutgoingCounter
int getOutgoingCounter()
getIncomingMac
IALG getIncomingMac()
getOutgoingMac
IALG getOutgoingMac()
getIncomingCipher
CALG getIncomingCipher()
getOutgoingCipher
CALG getOutgoingCipher()
getSignature
public byte[] getSignature() throws javax.security.sasl.SaslException
|
|||||||||
Home >> All >> cryptix >> sasl >> [ srp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |