public class EContentInfo extends BaseASNWrapper<ContentInfo>
logger, mObject
Constructor and Description |
---|
EContentInfo(com.objsys.asn1j.runtime.Asn1ObjectIdentifier contentType,
com.objsys.asn1j.runtime.Asn1OpenType content)
Create EContentInfo
|
EContentInfo(byte[] aBytes)
Create EContentInfo from byte array
|
EContentInfo(ContentInfo aObject) |
EContentInfo(java.io.InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Returns content value
|
byte[] |
getContentStringByteValue()
Returns byte array of ContentInfo's content
|
com.objsys.asn1j.runtime.Asn1ObjectIdentifier |
getContentType()
Returns content type of ContentInfo
|
void |
setContent(byte[] aContent)
Set content value
|
void |
setContentType(com.objsys.asn1j.runtime.Asn1ObjectIdentifier aContentType)
Set content type
|
clone, equals, extendArray, extendArray, getEncoded, getObject, hashCode, removeFromArray, unwrapArray, wrapArray
public EContentInfo(ContentInfo aObject)
public EContentInfo(com.objsys.asn1j.runtime.Asn1ObjectIdentifier contentType, com.objsys.asn1j.runtime.Asn1OpenType content)
contentType
- content
- public EContentInfo(byte[] aBytes) throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
aBytes
- byte[]tr.gov.tubitak.uekae.esya.api.common.ESYAException
public EContentInfo(java.io.InputStream inputStream) throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
tr.gov.tubitak.uekae.esya.api.common.ESYAException
public com.objsys.asn1j.runtime.Asn1ObjectIdentifier getContentType()
public void setContentType(com.objsys.asn1j.runtime.Asn1ObjectIdentifier aContentType)
aContentType
- Asn1ObjectIdentifierpublic byte[] getContent()
public void setContent(byte[] aContent)
aContent
- byte[]public byte[] getContentStringByteValue() throws java.io.IOException, com.objsys.asn1j.runtime.Asn1Exception
java.io.IOException
com.objsys.asn1j.runtime.Asn1Exception
Copyright © 2025. All rights reserved.