Package aQute.libg.cryptography
Class Verifier
- java.lang.Object
-
- java.io.OutputStream
-
- aQute.libg.cryptography.Verifier
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class Verifier extends java.io.OutputStream
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
verify()
void
write(byte[] buffer, int offset, int length)
void
write(int b)
-
-
-
Field Detail
-
signature
final java.security.Signature signature
-
d
final Digest d
-
-
Constructor Detail
-
Verifier
Verifier(java.security.Signature s, Digest d)
-
-
Method Detail
-
write
public void write(byte[] buffer, int offset, int length) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(int b) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
verify
public boolean verify() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-