object EthECIES
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EthECIES
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- sealed abstract class EncryptedBlock extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CipherKeyBits: Int
- val CipherKeyBytes: Int
- val Curve: Fp
- val CurveInfo: (ECDomainParameters, Fp)
- val CurveParams: ECDomainParameters
- def DerivationVector: Array[Byte]
- val DigestBits: Int
- val DigestBytes: Int
- val EmptyByteArray: Array[Byte]
- val EncodedPublicKeyLen: Int
- def EncodingVector: Array[Byte]
- val KdfCounterStart: Int
- val MacBits: Int
- val MacBytes: Int
- val MacKeyBits: Int
- val MacKeyBytes: Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def createCipher(encrypt: Boolean, key: Array[Byte], initializationVector: Array[Byte]): BufferedBlockCipher
- def createDigest(): Digest
- def createMac(): Mac
- def createRandom(): SecureRandom
-
def
decryptBlock(to: ECPrivateKeyParameters, initializationVector: Array[Byte], mbSharedSecret: Option[Array[Byte]], bytes: Array[Byte], offset: Int, len: Int): Array[Byte]
Accepts the concatenation of an ephemeral public sender key, ciphertext and MAC in a byte array.
-
def
decryptBlock(from: ECPublicKeyParameters, to: ECPrivateKeyParameters, initializationVector: Array[Byte], mbSharedSecret: Option[Array[Byte]], bytes: Array[Byte], offset: Int, len: Int): Array[Byte]
Requires the sender's known public key.
Requires the sender's known public key.
Accepts the concatenation of ciphertext and MAC in a byte array.
- def doDecryptBlock(mbEmbeddedEncodedPublicKey: Option[Array[Byte]], sharedSecret: Array[Byte], derivationVector: Array[Byte], encodingVector: Array[Byte], initializationVector: Array[Byte], in: Array[Byte], inOffset: Int, inLen: Int): Array[Byte]
- def doEncryptBlock(mbEmbeddedEncodedPublicKey: Option[Array[Byte]], sharedSecret: Array[Byte], derivationVector: Array[Byte], encodingVector: Array[Byte], initializationVector: Array[Byte], in: Array[Byte], inOffset: Int, inLen: Int): Array[Byte]
- def ecdheSharedSecret(myPriv: EthPrivateKey, yourPub: EthPublicKey): Array[Byte]
- def ecdheSharedSecret(myPriv: ECPrivateKeyParameters, yourPub: ECPublicKeyParameters): Array[Byte]
- def encodePublicKey(pub: ECPublicKeyParameters): Array[Byte]
-
def
encryptBlock(to: ECPublicKeyParameters, initializationVector: Array[Byte], mbSharedSecret: Option[Array[Byte]], bytes: Array[Byte], offset: Int, len: Int): Array[Byte]
Returns the concatenation of an ephemeral sender public key, ciphertext and MAC in a byte array.
-
def
encryptBlock(from: ECPrivateKeyParameters, to: ECPublicKeyParameters, initializationVector: Array[Byte], mbSharedSecret: Option[Array[Byte]], bytes: Array[Byte], offset: Int, len: Int): Array[Byte]
Returns the concatenation of ciphertext and MAC in a byte array.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def generateEphemeralKeyPair(random: SecureRandom = createRandom()): (ECPrivateKeyParameters, ECPublicKeyParameters)
- def generateInitializationVector(random: SecureRandom = createRandom()): Array[Byte]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def kdf(sharedSecret: Array[Byte], initializationVector: Array[Byte], len: Int): Array[Byte]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def readEncodedPublicKey(keyBytes: Array[Byte]): ECPublicKeyParameters
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- implicit def toECPrivateKeyParameters(ethPriv: EthPrivateKey): ECPrivateKeyParameters
- implicit def toECPublicKeyParameters(ethPub: EthPublicKey): ECPublicKeyParameters
- def toEthKeyPair(rawKeyPair: (ECPrivateKeyParameters, ECPublicKeyParameters)): EthKeyPair
- implicit def toEthPrivateKey(priv: ECPrivateKeyParameters): EthPrivateKey
- implicit def toEthPublicKey(pub: ECPublicKeyParameters): EthPublicKey
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object EncryptedBlock
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.