Class BcTlsEd448Signer
java.lang.Object
org.bouncycastle.tls.crypto.impl.bc.BcTlsSigner
org.bouncycastle.tls.crypto.impl.bc.BcTlsEd448Signer
- All Implemented Interfaces:
TlsSigner
-
Field Summary
Fields inherited from class org.bouncycastle.tls.crypto.impl.bc.BcTlsSigner
crypto, privateKey -
Constructor Summary
ConstructorsConstructorDescriptionBcTlsEd448Signer(BcTlsCrypto crypto, org.bouncycastle.crypto.params.Ed448PrivateKeyParameters privateKey) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]generateRawSignature(SignatureAndHashAlgorithm algorithm, byte[] hash) Generate an encoded signature based on the passed in hash.getStreamSigner(SignatureAndHashAlgorithm algorithm)
-
Constructor Details
-
BcTlsEd448Signer
public BcTlsEd448Signer(BcTlsCrypto crypto, org.bouncycastle.crypto.params.Ed448PrivateKeyParameters privateKey)
-
-
Method Details
-
generateRawSignature
public byte[] generateRawSignature(SignatureAndHashAlgorithm algorithm, byte[] hash) throws IOException Description copied from interface:TlsSignerGenerate an encoded signature based on the passed in hash.- Parameters:
algorithm- the signature algorithm to use.hash- the hash calculated for the signature.- Returns:
- an encoded signature.
- Throws:
IOException- in case of an exception processing the hash.
-
getStreamSigner
- Specified by:
getStreamSignerin interfaceTlsSigner- Overrides:
getStreamSignerin classBcTlsSigner
-