| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private OperatorHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ContentVerifierProvider | |
| public ContentVerifierProvider | |
| public ContentVerifierProvider | |
| public ContentVerifierProvider | |
| private Signature | |
| private Signature | |
| public JcaContentVerifierProviderBuilder | |
| public JcaContentVerifierProviderBuilder |
| helper | back to summary |
|---|---|
| private OperatorHelper helper | |
| JcaContentVerifierProviderBuilder | back to summary |
|---|---|
| public JcaContentVerifierProviderBuilder() | |
| build | back to summary |
|---|---|
| public ContentVerifierProvider build(X509CertificateHolder certHolder) throws OperatorCreationException, CertificateException | |
| build | back to summary |
|---|---|
| public ContentVerifierProvider build(final X509Certificate certificate) throws OperatorCreationException | |
| build | back to summary |
|---|---|
| public ContentVerifierProvider build(final PublicKey publicKey) throws OperatorCreationException | |
| build | back to summary |
|---|---|
| public ContentVerifierProvider build(SubjectPublicKeyInfo publicKey) throws OperatorCreationException | |
| createRawSig | back to summary |
|---|---|
| private Signature createRawSig(AlgorithmIdentifier algorithm, PublicKey publicKey) | |
| createSignature | back to summary |
|---|---|
| private Signature createSignature(AlgorithmIdentifier algorithm, PublicKey publicKey) throws OperatorCreationException | |
| setProvider | back to summary |
|---|---|
| public JcaContentVerifierProviderBuilder setProvider(Provider provider) | |
| setProvider | back to summary |
|---|---|
| public JcaContentVerifierProviderBuilder setProvider(String providerName) | |
| Modifier and Type | Field and Description |
|---|---|
| private Signature |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | verify(byte[]
expected value of the signature on the data. expected)Overrides org. Implements org. |
| public boolean | verify(byte[]
digest calculated from the content. digest, byte[] expected value of the signature expected)Implements org. |
| rawSignature | back to summary |
|---|---|
| private Signature rawSignature | |
| RawSigVerifier | back to summary |
|---|---|
| pack-priv RawSigVerifier(AlgorithmIdentifier algorithm, Signature standardSig, Signature rawSignature) | |
| verify | back to summary |
|---|---|
| public boolean verify(byte[] expected) Overrides org. Implements org. Doc from org. Return true if the expected value of the signature matches the data passed into the stream.
| |
| verify | back to summary |
|---|---|
| public boolean verify(byte[] digest, byte[] expected) Implements org. Doc from org. Verify that the expected signature value was derived from the passed in digest.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final AlgorithmIdentifier | |
| private final Signature | |
| protected final OutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | getAlgorithmIdentifier()
Implements org. |
| public OutputStream | getOutputStream()
Implements org. |
| public boolean | verify(byte[]
expected value of the signature on the data. expected)Implements org. |
| algorithm | back to summary |
|---|---|
| private final AlgorithmIdentifier algorithm | |
| signature | back to summary |
|---|---|
| private final Signature signature | |
| stream | back to summary |
|---|---|
| protected final OutputStream stream | |
| SigVerifier | back to summary |
|---|---|
| pack-priv SigVerifier(AlgorithmIdentifier algorithm, Signature signature) | |
| getAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getAlgorithmIdentifier() Implements org. Doc from org. Return the algorithm identifier describing the signature algorithm and parameters this verifier supports.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream() Implements org. Doc from org. Returns a stream that will accept data for the purpose of calculating a signature for later verification. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.
| |
| verify | back to summary |
|---|---|
| public boolean verify(byte[] expected) Implements org. Doc from org. Return true if the expected value of the signature matches the data passed into the stream.
| |