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.ECParameterSpecparams(package private) java.security.interfaces.ECPrivateKeyprvKey(package private) java.security.interfaces.ECPublicKeypubKey(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 voidbzero(byte[] buf)private byte[]chop0(byte[] buf)byte[]getD()(package private) java.security.interfaces.ECPrivateKeygetPrivateKey()(package private) java.security.interfaces.ECPublicKeygetPublicKey()byte[]getR()byte[]getS()voidinit(int key_size)private byte[]insert0(byte[] buf)
-
-
-
Method Detail
-
init
public void init(int key_size) throws java.lang.Exception- Specified by:
initin interfaceKeyPairGenECDSA- Throws:
java.lang.Exception
-
getD
public byte[] getD()
- Specified by:
getDin interfaceKeyPairGenECDSA
-
getR
public byte[] getR()
- Specified by:
getRin interfaceKeyPairGenECDSA
-
getS
public byte[] getS()
- Specified by:
getSin 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)
-
-