Package com.jcraft.jsch.jce
Class KeyPairGenECDSA
- java.lang.Object
-
- com.jcraft.jsch.jce.KeyPairGenECDSA
-
- All Implemented Interfaces:
KeyPairGenECDSA
public class KeyPairGenECDSA extends java.lang.Object implements KeyPairGenECDSA
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]
d
(package private) java.security.spec.ECParameterSpec
params
(package private) java.security.interfaces.ECPrivateKey
prvKey
(package private) java.security.interfaces.ECPublicKey
pubKey
(package private) byte[]
r
(package private) byte[]
s
-
Constructor Summary
Constructors Constructor Description KeyPairGenECDSA()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
bzero(byte[] buf)
private byte[]
chop0(byte[] buf)
byte[]
getD()
(package private) java.security.interfaces.ECPrivateKey
getPrivateKey()
(package private) java.security.interfaces.ECPublicKey
getPublicKey()
byte[]
getR()
byte[]
getS()
void
init(int key_size)
private byte[]
insert0(byte[] buf)
-
-
-
Method Detail
-
init
public void init(int key_size) throws java.lang.Exception
- Specified by:
init
in interfaceKeyPairGenECDSA
- Throws:
java.lang.Exception
-
getD
public byte[] getD()
- Specified by:
getD
in interfaceKeyPairGenECDSA
-
getR
public byte[] getR()
- Specified by:
getR
in interfaceKeyPairGenECDSA
-
getS
public byte[] getS()
- Specified by:
getS
in interfaceKeyPairGenECDSA
-
getPublicKey
java.security.interfaces.ECPublicKey getPublicKey()
-
getPrivateKey
java.security.interfaces.ECPrivateKey getPrivateKey()
-
insert0
private byte[] insert0(byte[] buf)
-
chop0
private byte[] chop0(byte[] buf)
-
bzero
private void bzero(byte[] buf)
-
-