All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.joyent.http.signature.BenchmarkRSASigner Maven / Gradle / Ivy

/*
 * Copyright (c) 2017, Joyent, Inc. All rights reserved.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package com.joyent.http.signature;

import org.openjdk.jmh.annotations.Param;


@SuppressWarnings({"checkstyle:javadocmethod", "checkstyle:javadoctype", "checkstyle:javadocvariable"})
public class BenchmarkRSASigner extends BenchmarkSigner {
    @Param({"SHA1", "SHA256", "SHA512"})
    private String hash;

    @Param({"stdlib", "native.jnagmp"})
    private String providerCode;

    public String getKeyCode() {
        return "rsa_2048";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy