public abstract class AbstractDH
extends org.mozilla.javascript.ScriptableObject
| Modifier and Type | Field and Description |
|---|---|
protected static BigInteger |
DH_GENERATOR |
protected BigInteger |
prime |
protected DHPrivateKey |
privKey |
protected DHPublicKey |
pubKey |
| Constructor and Description |
|---|
AbstractDH() |
| Modifier and Type | Method and Description |
|---|---|
protected Buffer.BufferImpl |
bufFromInt(BigInteger i,
org.mozilla.javascript.Context cx) |
protected Object |
computeSecret(org.mozilla.javascript.Context cx,
Buffer.BufferImpl keyBuf) |
protected Object |
generateKeys(org.mozilla.javascript.Context cx) |
protected KeyAgreement |
getKeyAgreement() |
protected KeyFactory |
getKeyFactory() |
protected KeyPairGenerator |
getKeyPairGen() |
protected AlgorithmParameterGenerator |
getParamGen() |
protected BigInteger |
intFromBuf(Buffer.BufferImpl buf,
org.mozilla.javascript.Context cx) |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeprotected static final BigInteger DH_GENERATOR
protected BigInteger prime
protected DHPrivateKey privKey
protected DHPublicKey pubKey
protected BigInteger intFromBuf(Buffer.BufferImpl buf, org.mozilla.javascript.Context cx)
protected Buffer.BufferImpl bufFromInt(BigInteger i, org.mozilla.javascript.Context cx)
protected Object generateKeys(org.mozilla.javascript.Context cx)
protected Object computeSecret(org.mozilla.javascript.Context cx, Buffer.BufferImpl keyBuf)
protected KeyPairGenerator getKeyPairGen() throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionprotected AlgorithmParameterGenerator getParamGen() throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionprotected KeyFactory getKeyFactory() throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionprotected KeyAgreement getKeyAgreement() throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionCopyright © 2016 Apigee Corporation. All Rights Reserved.