| Package | Description |
|---|---|
| com.google.crypto.tink.subtle |
| Modifier and Type | Method and Description |
|---|---|
static EllipticCurves.PointFormatType |
EllipticCurves.PointFormatType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EllipticCurves.PointFormatType[] |
EllipticCurves.PointFormatType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ECPoint |
EllipticCurves.ecPointDecode(EllipticCurve curve,
EllipticCurves.PointFormatType format,
byte[] encoded)
Decodes an encoded point on an elliptic curve.
|
static int |
EllipticCurves.encodingSizeInBytes(EllipticCurve curve,
EllipticCurves.PointFormatType format)
Returns the encoding size of a point on an elliptic curve.
|
byte[] |
EciesHkdfRecipientKem.generateKey(byte[] kemBytes,
String hmacAlgo,
byte[] hkdfSalt,
byte[] hkdfInfo,
int keySizeInBytes,
EllipticCurves.PointFormatType pointFormat) |
EciesHkdfSenderKem.KemKey |
EciesHkdfSenderKem.generateKey(String hmacAlgo,
byte[] hkdfSalt,
byte[] hkdfInfo,
int keySizeInBytes,
EllipticCurves.PointFormatType pointFormat) |
static ECPublicKey |
EllipticCurves.getEcPublicKey(ECParameterSpec spec,
EllipticCurves.PointFormatType pointFormat,
byte[] publicKey)
|
static ECPublicKey |
EllipticCurves.getEcPublicKey(EllipticCurves.CurveType curve,
EllipticCurves.PointFormatType pointFormat,
byte[] publicKey)
|
static ECPoint |
EllipticCurves.pointDecode(EllipticCurve curve,
EllipticCurves.PointFormatType format,
byte[] encoded)
Decodes an encoded point on an elliptic curve.
|
static ECPoint |
EllipticCurves.pointDecode(EllipticCurves.CurveType curveType,
EllipticCurves.PointFormatType format,
byte[] encoded)
Decodes an encoded point on an elliptic curve.
|
static byte[] |
EllipticCurves.pointEncode(EllipticCurve curve,
EllipticCurves.PointFormatType format,
ECPoint point)
Encodes a point on an elliptic curve.
|
static byte[] |
EllipticCurves.pointEncode(EllipticCurves.CurveType curveType,
EllipticCurves.PointFormatType format,
ECPoint point)
Encodes a point on an elliptic curve.
|
| Constructor and Description |
|---|
EciesAeadHkdfHybridDecrypt(ECPrivateKey recipientPrivateKey,
byte[] hkdfSalt,
String hkdfHmacAlgo,
EllipticCurves.PointFormatType ecPointFormat,
EciesAeadHkdfDemHelper demHelper) |
EciesAeadHkdfHybridEncrypt(ECPublicKey recipientPublicKey,
byte[] hkdfSalt,
String hkdfHmacAlgo,
EllipticCurves.PointFormatType ecPointFormat,
EciesAeadHkdfDemHelper demHelper) |