Top Constructors Methods
org.bouncycastle.jcajce.provider.asymmetric.dstu

public Class SignatureSpiLe

extends SignatureSpi
Class Inheritance
Imports
java.io.IOException, java.security.SignatureException, org.bouncycastle.asn1.ASN1OctetString, .DEROctetString

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected byte[]
engineSign()

Overrides org.bouncycastle.jcajce.provider.asymmetric.dstu.SignatureSpi.engineSign.

Returns the signature bytes of all the data updated so far.

protected boolean
engineVerify(byte[]
the signature bytes to be verified.
sigBytes
)

Overrides org.bouncycastle.jcajce.provider.asymmetric.dstu.SignatureSpi.engineVerify.

Verifies the passed-in signature.

pack-priv void
reverseBytes(byte[] bytes)

Inherited from org.bouncycastle.jcajce.provider.asymmetric.dstu.SignatureSpi:
engineGetParameterengineGetParametersengineInitSignengineInitVerifyengineSetParameterengineSetParameterengineUpdateengineUpdateexpandSbox

Constructor Detail

SignatureSpiLeback to summary
public SignatureSpiLe()

Method Detail

engineSignback to summary
protected byte[] engineSign() throws SignatureException

Overrides org.bouncycastle.jcajce.provider.asymmetric.dstu.SignatureSpi.engineSign.

Doc from java.security.SignatureSpi.engineSign.

Returns the signature bytes of all the data updated so far. The format of the signature depends on the underlying signature scheme.

Returns:byte[]

the signature bytes of the signing operation's result.

Exceptions
SignatureException:
if the engine is not initialized properly or if this signature algorithm is unable to process the input data provided.
engineVerifyback to summary
protected boolean engineVerify(byte[] sigBytes) throws SignatureException

Overrides org.bouncycastle.jcajce.provider.asymmetric.dstu.SignatureSpi.engineVerify.

Doc from java.security.SignatureSpi.engineVerify.

Verifies the passed-in signature.

Parameters
sigBytes:byte[]

the signature bytes to be verified.

Returns:boolean

true if the signature was verified, false if not.

Exceptions
SignatureException:
if the engine is not initialized properly, the passed-in signature is improperly encoded or of the wrong type, if this signature algorithm is unable to process the input data provided, etc.
reverseBytesback to summary
pack-priv void reverseBytes(byte[] bytes)