| java.lang.Object org.bouncycastle.tsp.TimeStampRequest
TimeStampRequest | public class TimeStampRequest implements X509Extension(Code) | | Base class for an RFC 3161 Time Stamp Request.
|
TimeStampRequest | public TimeStampRequest(byte[] req) throws IOException(Code) | | Create a TimeStampRequest from the past in byte array.
Parameters: req - byte array containing the request. throws: IOException - if the request is malformed. |
TimeStampRequest | public TimeStampRequest(InputStream in) throws IOException(Code) | | Create a TimeStampRequest from the past in input stream.
Parameters: in - input stream containing the request. throws: IOException - if the request is malformed. |
getCertReq | public boolean getCertReq()(Code) | | |
getCriticalExtensionOIDs | public Set getCriticalExtensionOIDs()(Code) | | |
getEncoded | public byte[] getEncoded() throws IOException(Code) | | return the ASN.1 encoded representation of this object.
|
getExtensionValue | public byte[] getExtensionValue(String oid)(Code) | | |
getMessageImprintAlgOID | public String getMessageImprintAlgOID()(Code) | | |
getMessageImprintDigest | public byte[] getMessageImprintDigest()(Code) | | |
getNonCriticalExtensionOIDs | public Set getNonCriticalExtensionOIDs()(Code) | | |
getVersion | public int getVersion()(Code) | | |
hasUnsupportedCriticalExtension | public boolean hasUnsupportedCriticalExtension()(Code) | | |
validate | public void validate(Set algorithms, Set policies, Set extensions, String provider) throws TSPException, NoSuchProviderException(Code) | | Validate the timestamp request, checking the digest to see if it is of an
accepted type and whether it is of the correct length for the algorithm specified.
Parameters: algorithms - a set of String OIDS giving accepted algorithms. Parameters: policies - if non-null a set of policies we are willing to sign under. Parameters: extensions - if non-null a set of extensions we are willing to accept. Parameters: provider - the provider to confirm the digest size against. throws: TSPException - if the request is invalid, or processing fails. |
|
|