ch.othello.openscep
Class StateData

java.lang.Object
  |
  +--ch.othello.openscep.StateData
All Implemented Interfaces:
Serializable

public class StateData
extends Object
implements Serializable

Scep Client

 $Id: StateData.java,v 1.1 2002/02/16 01:14:45 alani Exp $
 $Log: StateData.java,v $
 

Since:
$Date: 2002/02/16 01:14:45 $
Version:
$Revision: 1.23 $
Author:
alani
See Also:
Serialized Form

Field Summary
private  String caCertUrl
           
private  byte[] certReqOrig
           
private  String communityString
           
private  byte[] privKey
           
private  byte[] pubKey
           
private  int requestType
           
private  byte[] scepSubject
           
private  byte[] subject
           
private  String url
           
private  int version
           
 
Constructor Summary
StateData(int version, int requestType, String caCert, org.bouncycastle.asn1.DERObject certReqOrig, org.bouncycastle.asn1.x509.X509Name subject, org.bouncycastle.asn1.x509.X509Name scepSubject, org.bouncycastle.asn1.x509.RSAPublicKeyStructure pubKey, org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure privKey, String communityString, String url)
           
 
Method Summary
 String getCaCertUrl()
          Gets the caCert.
 org.bouncycastle.asn1.DERObject getCertReqOrig()
          Gets the certReqOrig.
 String getCommunityString()
          Gets the communityString.
 org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure getPrivKey()
          Gets the privKey.
 org.bouncycastle.asn1.x509.RSAPublicKeyStructure getPubKey()
          Gets the pubKey.
 int getRequestType()
          Gets the requestType.
 org.bouncycastle.asn1.x509.X509Name getScepSubject()
          Gets the scepSubject.
 org.bouncycastle.asn1.x509.X509Name getSubject()
          Gets the subject.
 String getUrl()
          Gets the url.
 int getVersion()
          Gets the version.
 void setCaCertUrl(String caCertUrl)
          Sets the caCert.
 void setCertReqOrig(org.bouncycastle.asn1.DERObject certReqOrig)
          Sets the certReqOrig.
 void setCommunityString(String communityString)
          Sets the communityString.
 void setPrivKey(org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure privKey)
          Sets the privKey.
 void setPubKey(org.bouncycastle.asn1.x509.RSAPublicKeyStructure pubKey)
          Sets the pubKey.
 void setRequestType(int requestType)
          Sets the requestType.
 void setScepSubject(org.bouncycastle.asn1.x509.X509Name scepSubject)
          Sets the scepSubject.
 void setSubject(org.bouncycastle.asn1.x509.X509Name subject)
          Sets the subject.
 void setUrl(String url)
          Sets the url.
 void setVersion(int version)
          Sets the version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

private int version

requestType

private int requestType

certReqOrig

private byte[] certReqOrig

subject

private byte[] subject

pubKey

private byte[] pubKey

privKey

private byte[] privKey

communityString

private String communityString

url

private String url

scepSubject

private byte[] scepSubject

caCertUrl

private String caCertUrl
Constructor Detail

StateData

public StateData(int version,
                 int requestType,
                 String caCert,
                 org.bouncycastle.asn1.DERObject certReqOrig,
                 org.bouncycastle.asn1.x509.X509Name subject,
                 org.bouncycastle.asn1.x509.X509Name scepSubject,
                 org.bouncycastle.asn1.x509.RSAPublicKeyStructure pubKey,
                 org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure privKey,
                 String communityString,
                 String url)
Method Detail

getCertReqOrig

public org.bouncycastle.asn1.DERObject getCertReqOrig()
Gets the certReqOrig.

Returns:
Returns a DERObject

setCertReqOrig

public void setCertReqOrig(org.bouncycastle.asn1.DERObject certReqOrig)
Sets the certReqOrig.

Parameters:
certReqOrig - The certReqOrig to set

getCommunityString

public String getCommunityString()
Gets the communityString.

Returns:
Returns a String

setCommunityString

public void setCommunityString(String communityString)
Sets the communityString.

Parameters:
communityString - The communityString to set

getPrivKey

public org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure getPrivKey()
Gets the privKey.

Returns:
Returns a RSAPublicKeyStructure

setPrivKey

public void setPrivKey(org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure privKey)
Sets the privKey.

Parameters:
privKey - The privKey to set

getPubKey

public org.bouncycastle.asn1.x509.RSAPublicKeyStructure getPubKey()
Gets the pubKey.

Returns:
Returns a RSAPublicKeyStructure

setPubKey

public void setPubKey(org.bouncycastle.asn1.x509.RSAPublicKeyStructure pubKey)
Sets the pubKey.

Parameters:
pubKey - The pubKey to set

getRequestType

public int getRequestType()
Gets the requestType.

Returns:
Returns a int

setRequestType

public void setRequestType(int requestType)
Sets the requestType.

Parameters:
requestType - The requestType to set

getSubject

public org.bouncycastle.asn1.x509.X509Name getSubject()
Gets the subject.

Returns:
Returns a X509Name

setSubject

public void setSubject(org.bouncycastle.asn1.x509.X509Name subject)
Sets the subject.

Parameters:
subject - The subject to set

getVersion

public int getVersion()
Gets the version.

Returns:
Returns a int

setVersion

public void setVersion(int version)
Sets the version.

Parameters:
version - The version to set

getUrl

public String getUrl()
Gets the url.

Returns:
Returns a String

setUrl

public void setUrl(String url)
Sets the url.

Parameters:
url - The url to set

getCaCertUrl

public String getCaCertUrl()
Gets the caCert.

Returns:
Returns a byte[]

setCaCertUrl

public void setCaCertUrl(String caCertUrl)
Sets the caCert.


getScepSubject

public org.bouncycastle.asn1.x509.X509Name getScepSubject()
Gets the scepSubject.

Returns:
Returns a byte[]

setScepSubject

public void setScepSubject(org.bouncycastle.asn1.x509.X509Name scepSubject)
Sets the scepSubject.

Parameters:
scepSubject - The scepSubject to set


ScepClient is copyright by Ueli Rutishauser + Alain Schaefer