Example usage for org.bouncycastle.crypto.signers PSSSigner TRAILER_IMPLICIT

List of usage examples for org.bouncycastle.crypto.signers PSSSigner TRAILER_IMPLICIT

Introduction

In this page you can find the example usage for org.bouncycastle.crypto.signers PSSSigner TRAILER_IMPLICIT.

Prototype

byte TRAILER_IMPLICIT

To view the source code for org.bouncycastle.crypto.signers PSSSigner TRAILER_IMPLICIT.

Click Source Link

Usage

From source file:org.xipki.commons.security.util.SignerUtil.java

License:Open Source License

private static byte getTrailer(final int trailerField) {
    if (trailerField == 1) {
        return org.bouncycastle.crypto.signers.PSSSigner.TRAILER_IMPLICIT;
    }/*from  w w w . j a  va2  s. com*/

    throw new IllegalArgumentException("unknown trailer field");
}

From source file:org.xipki.security.SignerUtil.java

License:Open Source License

static private byte getTrailer(final int trailerField) {
    if (trailerField == 1) {
        return org.bouncycastle.crypto.signers.PSSSigner.TRAILER_IMPLICIT;
    }//from  w w  w .j a  v a2 s .com

    throw new IllegalArgumentException("unknown trailer field");
}