public class EncapsulatedTimeStampImpl extends EncapsulatedPKIDataType
EncapsulatedTimeStamp
element that
supports the DOM XML representation and processing mechanism.encoding_
implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALED
ENCODING_BER, ENCODING_CER, ENCODING_DER, ENCODING_PER, ENCODING_XER
Constructor and Description |
---|
EncapsulatedTimeStampImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
EncapsulatedTimeStampImpl with
the given context and node. |
EncapsulatedTimeStampImpl(TSPTimeStampToken timeStampToken,
String id,
String encoding)
Creates a new instance of this
EncapsulatedTimeStampImpl with
the given time-stamp token, id -attribute value and encoding |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
getEncodedPKIValue(String encoding)
Returns the encapsulated PKI value encoded with the specified encoding.
|
String |
getLocalName() |
TimeStampToken |
getTimeStampToken()
Returns the timestamp token.
|
protected void |
setEncodedPKIValue(InputStream encoded,
String encoding)
Sets the encapsulated PKI value encoded with the specified encoding.
|
getEncoding, getId, marshalAttributes, marshalElement, marshalIDAttribute, unmarshalAttributes, unmarshalElement
getInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOf
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructures, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, newIDforLookUp, putChildStructure, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalIDAttribute, unmarshalStructures, wrapNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFeatureSupported
public EncapsulatedTimeStampImpl(DOMCryptoContext context, Node node) throws MarshalException
EncapsulatedTimeStampImpl
with
the given context and node.context
- the contextnode
- the node to unmarshal fromMarshalException
- if an exception occurs during unmarshalingpublic EncapsulatedTimeStampImpl(TSPTimeStampToken timeStampToken, String id, String encoding)
EncapsulatedTimeStampImpl
with
the given time-stamp token, id
-attribute value and encodingtimeStampToken
- the time-stamp tokenid
- the id
-attribute value (may be null
)encoding
- the encoding (may be null
)protected InputStream getEncodedPKIValue(String encoding) throws MarshalException
EncapsulatedPKIDataType
getEncodedPKIValue
in class EncapsulatedPKIDataType
encoding
- the encodingMarshalException
EncapsulatedPKIDataType.getEncodedPKIValue(String)
protected void setEncodedPKIValue(InputStream encoded, String encoding) throws MarshalException
EncapsulatedPKIDataType
setEncodedPKIValue
in class EncapsulatedPKIDataType
encoded
- the encoded PKI valueencoding
- the encodingMarshalException
EncapsulatedPKIDataType.setEncodedPKIValue(java.io.InputStream,
String)
public String getLocalName()
getLocalName
in class iaik.xml.crypto.dom.DOMStructure
DOMStructure.getLocalName()
public TimeStampToken getTimeStampToken()
© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC