Lines Matching refs:multiPartyAgreement
70 private KeyAgreement multiPartyAgreement;
88 multiPartyAgreement = null;
117 if ((multiPartyAgreement != null) || (lastPhase == false)) {
118 if (multiPartyAgreement == null) {
120 multiPartyAgreement = KeyAgreement.getInstance
122 multiPartyAgreement.init(privateKey);
128 return multiPartyAgreement.doPhase(key, lastPhase);
184 if (multiPartyAgreement != null) {
185 byte[] val = multiPartyAgreement.generateSecret();
186 multiPartyAgreement = null;
237 if (multiPartyAgreement != null) {
238 int n = multiPartyAgreement.generateSecret(sharedSecret, offset);
239 multiPartyAgreement = null;
255 if (multiPartyAgreement != null) {
256 SecretKey key = multiPartyAgreement.generateSecret(algorithm);
257 multiPartyAgreement = null;