123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
- #ifndef __gnu_javax_crypto_sasl_srp_SRPClient__
- #define __gnu_javax_crypto_sasl_srp_SRPClient__
- #pragma interface
- #include <gnu/javax/crypto/sasl/ClientMechanism.h>
- #include <gcj/array.h>
- extern "Java"
- {
- namespace gnu
- {
- namespace java
- {
- namespace security
- {
- namespace util
- {
- class PRNG;
- }
- }
- }
- namespace javax
- {
- namespace crypto
- {
- namespace key
- {
- class IKeyAgreementParty;
- }
- namespace sasl
- {
- namespace srp
- {
- class CALG;
- class IALG;
- class SRP;
- class SRPClient;
- }
- }
- }
- namespace security
- {
- namespace auth
- {
- class Password;
- }
- }
- }
- }
- namespace java
- {
- namespace math
- {
- class BigInteger;
- }
- }
- }
- class gnu::javax::crypto::sasl::srp::SRPClient : public ::gnu::javax::crypto::sasl::ClientMechanism
- {
- public:
- SRPClient();
- public: // actually protected
- virtual void initMechanism();
- virtual void resetMechanism();
- public:
- virtual jboolean hasInitialResponse();
- virtual JArray< jbyte > * evaluateChallenge(JArray< jbyte > *);
- public: // actually protected
- virtual JArray< jbyte > * engineUnwrap(JArray< jbyte > *, jint, jint);
- virtual JArray< jbyte > * engineWrap(JArray< jbyte > *, jint, jint);
- virtual ::java::lang::String * getNegotiatedQOP();
- virtual ::java::lang::String * getNegotiatedStrength();
- virtual ::java::lang::String * getNegotiatedRawSendSize();
- virtual ::java::lang::String * getReuse();
- private:
- JArray< jbyte > * sendIdentities();
- JArray< jbyte > * sendPublicKey(JArray< jbyte > *);
- JArray< jbyte > * receiveEvidence(JArray< jbyte > *);
- void getUsernameAndPassword();
- ::java::lang::String * createO(::java::lang::String *);
- void setupSecurityServices(jboolean);
- ::gnu::java::security::util::PRNG * getDefaultPRNG();
- static ::java::util::logging::Logger * log;
- ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::sasl::ClientMechanism)))) uid;
- ::java::lang::String * U;
- public: // actually package-private
- ::java::math::BigInteger * N;
- ::java::math::BigInteger * g;
- ::java::math::BigInteger * A;
- ::java::math::BigInteger * B;
- private:
- ::gnu::javax::security::auth::Password * password;
- JArray< jbyte > * s;
- JArray< jbyte > * cIV;
- JArray< jbyte > * sIV;
- JArray< jbyte > * M1;
- JArray< jbyte > * M2;
- JArray< jbyte > * cn;
- JArray< jbyte > * sn;
- ::gnu::javax::crypto::sasl::srp::SRP * srp;
- JArray< jbyte > * sid;
- jint ttl;
- JArray< jbyte > * sCB;
- ::java::lang::String * L;
- ::java::lang::String * o;
- ::java::lang::String * chosenIntegrityAlgorithm;
- ::java::lang::String * chosenConfidentialityAlgorithm;
- jint rawSendSize;
- JArray< jbyte > * K;
- jboolean replayDetection;
- jint inCounter;
- jint outCounter;
- ::gnu::javax::crypto::sasl::srp::IALG * inMac;
- ::gnu::javax::crypto::sasl::srp::IALG * outMac;
- ::gnu::javax::crypto::sasl::srp::CALG * inCipher;
- ::gnu::javax::crypto::sasl::srp::CALG * outCipher;
- ::gnu::javax::crypto::key::IKeyAgreementParty * clientHandler;
- ::gnu::java::security::util::PRNG * prng;
- public:
- static ::java::lang::Class class$;
- };
- #endif // __gnu_javax_crypto_sasl_srp_SRPClient__
|