|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.signedMark.EPPSignedMark
com.verisign.epp.codec.signedMark.EPPEncodedSignedMark
public class EPPEncodedSignedMark
Class for the encoded signed mark, which contains the mark (EPPMark),
and additional elements associated with the signing of the mark like the
serial number of the signed mark, the expiration of the signed mark, and the
XMLSignature itself. This class extends
EPPSignedMark.
| Field Summary | |
|---|---|
static java.lang.String |
ELM_ENCODED_SIGNED_MARK_LOCALNAME
Constant for the mark local name for encoded signedMark element |
static java.lang.String |
ELM_ENCODED_SIGNED_MARK_NAME
Constant for the mark tag for signedMark element |
| Fields inherited from class com.verisign.epp.codec.signedMark.EPPSignedMark |
|---|
ELM_SIGNED_MARK_LOCALNAME, ELM_SIGNED_MARK_NAME, NS, NS_PREFIX, NS_SCHEMA |
| Constructor Summary | |
|---|---|
EPPEncodedSignedMark()
Create an EPPEncodedSignedMark instance. |
|
EPPEncodedSignedMark(byte[] aEncodedSignedMarkArray)
Creates an EPPEncodedSignedMark that is initialized by
decoding the input byte[]. |
|
EPPEncodedSignedMark(EPPSignedMark aSignedMark)
Construct Encoded SignMark object from SignMark object. |
|
EPPEncodedSignedMark(java.io.InputStream aSMD)
Creates an EPPEncodedSignedMark by decoding the a Signed Mark
Data (SMD) that is in a PEM-like input stream that includes the encoded
signed mark with a leading line "-----BEGIN ENCODED SMD-----" and
a trailing "-----END ENCODED SMD-----". |
|
EPPEncodedSignedMark(java.lang.String aId,
EPPIssuer aIssuer,
java.util.Date aNotBefore,
java.util.Date aNotAfter,
EPPMark aMark)
Create an EPPEncodedSignedMark with the id, issuer, not before
date, not after date, and the mark attributes of the signed mark. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPEncodedSignedMark. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPSignedMark component |
byte[] |
encode()
Encode the signed mark to a byte[]. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document |
| Methods inherited from class com.verisign.epp.codec.signedMark.EPPSignedMark |
|---|
decode, equals, getAttrIdValue, getId, getIssuer, getLocalName, getMark, getNotAfter, getNotBefore, sign, sign, toString, validate, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_ENCODED_SIGNED_MARK_LOCALNAME
public static final java.lang.String ELM_ENCODED_SIGNED_MARK_NAME
| Constructor Detail |
|---|
public EPPEncodedSignedMark()
EPPEncodedSignedMark instance.
public EPPEncodedSignedMark(EPPSignedMark aSignedMark)
throws EPPEncodeException,
EPPDecodeException
aSignedMark - SignMark object
EPPEncodeException - Error encoding the SignMark byte[].
EPPDecodeException - Error decoding the encoded SignMark byte[].
public EPPEncodedSignedMark(java.lang.String aId,
EPPIssuer aIssuer,
java.util.Date aNotBefore,
java.util.Date aNotAfter,
EPPMark aMark)
throws EPPEncodeException,
EPPDecodeException
EPPEncodedSignedMark with the id, issuer, not before
date, not after date, and the mark attributes of the signed mark.
aId - Identifier of signed markaIssuer - Signed mark issuer informationaNotBefore - Date and time that the signed mark was created.aNotAfter - Date and time that the signed mark expires.aMark - Mark information
EPPEncodeException - Thrown if any errors prevent encoding.
EPPDecodeException - Error decoding the Issuer or Mark object.
public EPPEncodedSignedMark(byte[] aEncodedSignedMarkArray)
throws EPPDecodeException
EPPEncodedSignedMark that is initialized by
decoding the input byte[].
aEncodedSignedMarkArray - byte[] to decode the attribute values
EPPDecodeException - Error decoding the input byte[].
public EPPEncodedSignedMark(java.io.InputStream aSMD)
throws EPPDecodeException
EPPEncodedSignedMark by decoding the a Signed Mark
Data (SMD) that is in a PEM-like input stream that includes the encoded
signed mark with a leading line "-----BEGIN ENCODED SMD-----" and
a trailing "-----END ENCODED SMD-----".
aSMD - InputStream containing a Signed Mark Data (SMD)
EPPDecodeException - Error decoding the Signed Mark Data (SMD)| Method Detail |
|---|
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPSignedMark component
decode in interface EPPCodecComponentdecode in class EPPSignedMarkaElement - Root element of the EPPSignedMark
EPPDecodeException - Error decoding the EPPSignedMark
public byte[] encode()
throws EPPEncodeException
byte[].
encode in class EPPSignedMarkEPPEncodeException - Error encoding the signed mark
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentencode in class EPPSignedMarkaDocument - a DOM Document to attach data to.
EPPEncodeException - Thrown if any errors prevent encoding.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPEncodedSignedMark.
clone in interface EPPCodecComponentclone in class EPPSignedMarkEPPEncodedSignedMark
java.lang.CloneNotSupportedException - standard Object.clone exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||