Top Constructors Methods
org.bouncycastle.tls.crypto.impl.jcajce

pack-priv Class XDHUtil

extends Object
Class Inheritance
Imports
java.io.IOException, java.security.KeyFactory, .PublicKey, java.security.spec.EncodedKeySpec, .X509EncodedKeySpec, org.bouncycastle.asn1.ASN1Encoding, .ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, .SubjectPublicKeyInfo, org.bouncycastle.jcajce.interfaces.XDHPublicKey, org.bouncycastle.jcajce.spec.RawEncodedKeySpec, org.bouncycastle.jce.provider.BouncyCastleProvider, org.bouncycastle.tls.AlertDescription, .TlsFatalAlert

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static X509EncodedKeySpec
pack-priv static PublicKey
decodePublicKey(JcaTlsCrypto crypto, String keyFactoryAlgorithm, ASN1ObjectIdentifier algorithmOID, byte[] encoding)

pack-priv static byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

XDHUtilback to summary
pack-priv XDHUtil()

Method Detail

createX509EncodedKeySpecback to summary
private static X509EncodedKeySpec createX509EncodedKeySpec(ASN1ObjectIdentifier oid, byte[] encoding) throws IOException
decodePublicKeyback to summary
pack-priv static PublicKey decodePublicKey(JcaTlsCrypto crypto, String keyFactoryAlgorithm, ASN1ObjectIdentifier algorithmOID, byte[] encoding) throws TlsFatalAlert
encodePublicKeyback to summary
pack-priv static byte[] encodePublicKey(PublicKey publicKey) throws TlsFatalAlert