mcne.asn1
Class TSTInfo
java.lang.Object
|
+--mcne.asn1.TSTInfo
- public class TSTInfo
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
is_nonce_set_
protected boolean is_nonce_set_
extensions_
protected X509Extensions extensions_
tsa_
protected GeneralName tsa_
nonce_
protected java.math.BigInteger nonce_
ordering_
protected boolean ordering_
accuracy_
protected Accuracy accuracy_
gen_time_
protected java.lang.String gen_time_
serial_number_
protected java.math.BigInteger serial_number_
message_imprint_
protected MsgImprint message_imprint_
policy_
protected DERObjectIdentifier policy_
version_
protected int version_
EXTENSIONS_IMPLICITLY_TAGGED
protected static final boolean EXTENSIONS_IMPLICITLY_TAGGED
- See Also:
- Constant Field Values
EXTENSIONS_TAG
protected static final int EXTENSIONS_TAG
- See Also:
- Constant Field Values
TSA_IMPLICITLY_TAGGED
protected static final boolean TSA_IMPLICITLY_TAGGED
- See Also:
- Constant Field Values
TSA_TAG
protected static final int TSA_TAG
- See Also:
- Constant Field Values
GEN_TIME_POS
protected static final int GEN_TIME_POS
- See Also:
- Constant Field Values
SERIAL_NUMBER_POS
protected static final int SERIAL_NUMBER_POS
- See Also:
- Constant Field Values
MESSAGE_IMPRINT_POS
protected static final int MESSAGE_IMPRINT_POS
- See Also:
- Constant Field Values
POLICY_POS
protected static final int POLICY_POS
- See Also:
- Constant Field Values
VERSION_POS
protected static final int VERSION_POS
- See Also:
- Constant Field Values
NUMBER_OF_MAX_COMPONENTS
protected static final int NUMBER_OF_MAX_COMPONENTS
- See Also:
- Constant Field Values
NUMBER_OF_MIN_COMPONENTS
protected static final int NUMBER_OF_MIN_COMPONENTS
- See Also:
- Constant Field Values
id_smime_ct_TSTInfo
public static DERObjectIdentifier id_smime_ct_TSTInfo
TSTInfo
public TSTInfo(DERObject asn1object)
throws java.lang.RuntimeException
TSTInfo
protected TSTInfo()
toString
public java.lang.String toString(boolean flag)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toASN1Object
public DERObject toASN1Object()
setTsa
public void setTsa(GeneralName generalname)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
setTSAPolicyID
public void setTSAPolicyID(DERObjectIdentifier objectid)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
setSerialNumber
public void setSerialNumber(java.math.BigInteger biginteger)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
setOrdering
public void setOrdering(boolean flag)
setNonce
public void setNonce(java.math.BigInteger biginteger)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
setMessageImprint
public void setMessageImprint(MsgImprint messageimprint)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
setGenTime
public void setGenTime(java.lang.String s)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
setExtensions
public void setExtensions(X509Extensions x509extensions)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
setBlockSize
public void setBlockSize(int i)
resetClassState
protected void resetClassState()
parseTSTInfoData
protected void parseTSTInfoData(DERObject asn1object)
throws java.lang.RuntimeException
java.lang.RuntimeException
getVersion
public int getVersion()
getTsa
public GeneralName getTsa()
getTSAPolicyID
public DERObjectIdentifier getTSAPolicyID()
getSerialNumber
public java.math.BigInteger getSerialNumber()
getOrdering
public boolean getOrdering()
getNonce
public java.math.BigInteger getNonce()
getMessageImprint
public MsgImprint getMessageImprint()
getGenTime
public java.lang.String getGenTime()
getExtensions
public X509Extensions getExtensions()
getEncoded
public byte[] getEncoded()
getContentType
public DERObjectIdentifier getContentType()
getBlockSize
public int getBlockSize()
getAccuracy
public Accuracy getAccuracy()
generateASN1Object
protected DERConstructedSequence generateASN1Object()
decode
public void decode(java.io.InputStream inputstream)
throws java.io.IOException,
java.lang.RuntimeException
java.io.IOException
java.lang.RuntimeException
getDERObject
public org.bouncycastle.asn1.DERObject getDERObject()