Bouncy Castle Cryptography Library 1.60

org.bouncycastle.eac.jcajce
Class JcaPublicKeyConverter

java.lang.Object
  extended byorg.bouncycastle.eac.jcajce.JcaPublicKeyConverter

public class JcaPublicKeyConverter
extends java.lang.Object


Constructor Summary
JcaPublicKeyConverter()
           
 
Method Summary
 java.security.PublicKey getKey(org.bouncycastle.asn1.eac.PublicKeyDataObject publicKeyDataObject)
           
 org.bouncycastle.asn1.eac.PublicKeyDataObject getPublicKeyDataObject(org.bouncycastle.asn1.ASN1ObjectIdentifier usage, java.security.PublicKey publicKey)
           
 JcaPublicKeyConverter setProvider(java.security.Provider provider)
           
 JcaPublicKeyConverter setProvider(java.lang.String providerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcaPublicKeyConverter

public JcaPublicKeyConverter()
Method Detail

setProvider

public JcaPublicKeyConverter setProvider(java.lang.String providerName)

setProvider

public JcaPublicKeyConverter setProvider(java.security.Provider provider)

getKey

public java.security.PublicKey getKey(org.bouncycastle.asn1.eac.PublicKeyDataObject publicKeyDataObject)
                               throws EACException,
                                      java.security.spec.InvalidKeySpecException
Throws:
EACException
java.security.spec.InvalidKeySpecException

getPublicKeyDataObject

public org.bouncycastle.asn1.eac.PublicKeyDataObject getPublicKeyDataObject(org.bouncycastle.asn1.ASN1ObjectIdentifier usage,
                                                                            java.security.PublicKey publicKey)

Bouncy Castle Cryptography Library 1.60