Class BcTlsEd448Verifier

java.lang.Object
org.bouncycastle.tls.crypto.impl.bc.BcTlsVerifier
org.bouncycastle.tls.crypto.impl.bc.BcTlsEd448Verifier
All Implemented Interfaces:
TlsVerifier

public class BcTlsEd448Verifier extends BcTlsVerifier
  • Constructor Details

    • BcTlsEd448Verifier

      public BcTlsEd448Verifier(BcTlsCrypto crypto, org.bouncycastle.crypto.params.Ed448PublicKeyParameters publicKey)
  • Method Details

    • verifyRawSignature

      public boolean verifyRawSignature(DigitallySigned signature, byte[] hash) throws IOException
      Description copied from interface: TlsVerifier
      Return true if the passed in signature and hash represent a real signature.
      Parameters:
      signature - the signature object containing the signature to be verified.
      hash - the hash calculated for the signature.
      Returns:
      true if signature verifies, false otherwise.
      Throws:
      IOException - in case of an exception verifying signature.
    • getStreamVerifier

      public TlsStreamVerifier getStreamVerifier(DigitallySigned signature)
      Specified by:
      getStreamVerifier in interface TlsVerifier
      Overrides:
      getStreamVerifier in class BcTlsVerifier