Top Description Constructors Methods
org.bouncycastle.openpgp.operator.jcajce

pack-priv Class JcaJcePGPUtil

extends Object
Class Inheritance
Imports
java.io.IOException, java.math.BigInteger, java.security.GeneralSecurityException, .Key, .PublicKey, java.security.spec.AlgorithmParameterSpec, javax.crypto.KeyAgreement, .SecretKey, javax.crypto.spec.SecretKeySpec, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.cryptlib.CryptlibObjectIdentifiers, org.bouncycastle.asn1.edec.EdECObjectIdentifiers, org.bouncycastle.asn1.x9.ECNamedCurveTable, .X9ECParameters, org.bouncycastle.bcpg.PublicKeyPacket, org.bouncycastle.crypto.ec.CustomNamedCurves, org.bouncycastle.jcajce.spec.HybridValueParameterSpec, .UserKeyingMaterialSpec, org.bouncycastle.math.ec.ECCurve, .ECPoint, org.bouncycastle.openpgp.PGPException, org.bouncycastle.util.Arrays, .BigIntegers, .Strings

Basic utility class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static ECPoint
decodePoint(BigInteger encodedPoint, ECCurve curve)

pack-priv static HybridValueParameterSpec
getHybridValueParameterSpecWithPrepend(byte[] ephmeralPublicKey, PublicKeyPacket pkp, String algorithmName)

pack-priv static Key
getSecret(OperatorHelper helper, PublicKey cryptoPublicKey, String keyEncryptionOID, String agreementName, AlgorithmParameterSpec ukmSpec, Key privKey)

pack-priv static X9ECParameters
pack-priv static boolean
public static SecretKey
makeSymmetricKey(int algorithm, byte[] keyBytes)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JcaJcePGPUtilback to summary
pack-priv JcaJcePGPUtil()

Method Detail

decodePointback to summary
pack-priv static ECPoint decodePoint(BigInteger encodedPoint, ECCurve curve) throws IOException
getHybridValueParameterSpecWithPrependback to summary
pack-priv static HybridValueParameterSpec getHybridValueParameterSpecWithPrepend(byte[] ephmeralPublicKey, PublicKeyPacket pkp, String algorithmName) throws IOException
getSecretback to summary
pack-priv static Key getSecret(OperatorHelper helper, PublicKey cryptoPublicKey, String keyEncryptionOID, String agreementName, AlgorithmParameterSpec ukmSpec, Key privKey) throws GeneralSecurityException
getX9Parametersback to summary
pack-priv static X9ECParameters getX9Parameters(ASN1ObjectIdentifier curveOID)
isX25519back to summary
pack-priv static boolean isX25519(ASN1ObjectIdentifier curveID)
makeSymmetricKeyback to summary
public static SecretKey makeSymmetricKey(int algorithm, byte[] keyBytes) throws PGPException