org.jacorb.security.level2
Class KeyAndCert
java.lang.Object
org.jacorb.security.level2.KeyAndCert
- public class KeyAndCert
- extends java.lang.Object
KeyAndCert.java
Created: Mon Sep 4 16:33:49 2000
- Version:
- $Id: KeyAndCert.java,v 1.10 2004/05/06 12:40:01 nicolas Exp $
- Author:
- Nicolas Noffke
Field Summary |
java.security.cert.Certificate[] |
chain
|
java.security.PrivateKey |
key
|
Method Summary |
java.security.PublicKey |
getPublicKey()
return the public key of the first Certificate in the chain, if
there are any certs. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
key
public java.security.PrivateKey key
chain
public java.security.cert.Certificate[] chain
KeyAndCert
public KeyAndCert(java.security.PrivateKey key,
java.security.cert.Certificate[] chain)
KeyAndCert
public KeyAndCert(KeyAndCert source)
toString
public java.lang.String toString()
getPublicKey
public java.security.PublicKey getPublicKey()
- return the public key of the first Certificate in the chain, if
there are any certs. Return null otherwise