org.bouncycastle.crypto.params.AsymmetricKeyParameter.java Source code

Java tutorial

Introduction

Here is the source code for org.bouncycastle.crypto.params.AsymmetricKeyParameter.java

Source

package org.bouncycastle.crypto.params;

import org.bouncycastle.crypto.CipherParameters;

public class AsymmetricKeyParameter implements CipherParameters {
    boolean privateKey;

    public AsymmetricKeyParameter(boolean privateKey) {
        this.privateKey = privateKey;
    }

    public boolean isPrivate() {
        return privateKey;
    }
}