COM.claymoresystems.cert
Class X509SubjectPublicKeyInfo

java.lang.Object
  extended by COM.claymoresystems.cert.X509SubjectPublicKeyInfo

public class X509SubjectPublicKeyInfo
extends java.lang.Object


Constructor Summary
X509SubjectPublicKeyInfo()
           
 
Method Summary
static java.security.PublicKey createPublicKey(byte[] spkiDER)
          Construct a public key based on this SubjectPublicKeyInfo
static byte[] encodePublicKey(byte[] OID, byte[] params, byte[] key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509SubjectPublicKeyInfo

public X509SubjectPublicKeyInfo()
Method Detail

createPublicKey

public static java.security.PublicKey createPublicKey(byte[] spkiDER)
                                               throws java.io.IOException
Construct a public key based on this SubjectPublicKeyInfo

Parameters:
spkiDER - the encoded public key
Returns:
a public key
Throws:
java.io.IOException - in case of a parse error

encodePublicKey

public static byte[] encodePublicKey(byte[] OID,
                                     byte[] params,
                                     byte[] key)
                              throws java.io.IOException
Throws:
java.io.IOException


Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.