Top Description Constructors Methods
org.bouncycastle.bcpg

public Class PublicKeyUtils

extends Object
Class Inheritance

Utility methods related to OpenPGP public key algorithms.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

true if algorithm can sign
isSigningAlgorithm
(int
public key algorithm id
publicKeyAlgorithm
)

Return true, if the public key algorithm that corresponds to the given ID is capable of signing.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PublicKeyUtilsback to summary
public PublicKeyUtils()

Method Detail

isSigningAlgorithmback to summary
public static boolean isSigningAlgorithm(int publicKeyAlgorithm)

Return true, if the public key algorithm that corresponds to the given ID is capable of signing.

Parameters
publicKeyAlgorithm:int

public key algorithm id

Returns:boolean

true if algorithm can sign