Package com.jcraft.jsch.jce
Class SignatureECDSAN
java.lang.Object
com.jcraft.jsch.jce.SignatureECDSAN
- All Implemented Interfaces:
Signature
,SignatureECDSA
- Direct Known Subclasses:
SignatureECDSA256
,SignatureECDSA384
,SignatureECDSA521
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
bzero
(byte[] buf) private byte[]
chop0
(byte[] buf) (package private) abstract String
getName()
void
init()
private byte[]
insert0
(byte[] buf) void
setPrvKey
(byte[] d) void
setPubKey
(byte[] r, byte[] s) byte[]
sign()
void
update
(byte[] foo) boolean
verify
(byte[] sig)
-
Field Details
-
signature
Signature signature -
keyFactory
KeyFactory keyFactory
-
-
Constructor Details
-
SignatureECDSAN
public SignatureECDSAN()
-
-
Method Details
-
getName
-
init
-
setPubKey
- Specified by:
setPubKey
in interfaceSignatureECDSA
- Throws:
Exception
-
setPrvKey
- Specified by:
setPrvKey
in interfaceSignatureECDSA
- Throws:
Exception
-
sign
-
update
-
verify
-
insert0
private byte[] insert0(byte[] buf) -
chop0
private byte[] chop0(byte[] buf) -
bzero
private void bzero(byte[] buf)
-