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 booleanverify()voidwrite(byte[] buffer, int offset, int length)voidwrite(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:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(int b) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
verify
public boolean verify() throws java.lang.Exception- Throws:
java.lang.Exception
-
-