org.mozilla.jss.pkix.cert

Class Extension

public class Extension extends Object implements ASN1Value

Nested Class Summary
static classExtension.Template
Field Summary
static TagTAG
Constructor Summary
Extension(OBJECT_IDENTIFIER extnId, boolean critical, OCTET_STRING extnValue)
Method Summary
voidencode(OutputStream ostream)
voidencode(Tag implicit, OutputStream ostream)
booleangetCritical()
OBJECT_IDENTIFIERgetExtnId()
Returns the extension identifier.
OCTET_STRINGgetExtnValue()
TaggetTag()
static Extension.TemplategetTemplate()

Field Detail

TAG

public static final Tag TAG

Constructor Detail

Extension

public Extension(OBJECT_IDENTIFIER extnId, boolean critical, OCTET_STRING extnValue)

Method Detail

encode

public void encode(OutputStream ostream)

encode

public void encode(Tag implicit, OutputStream ostream)

getCritical

public boolean getCritical()

getExtnId

public OBJECT_IDENTIFIER getExtnId()
Returns the extension identifier.

getExtnValue

public OCTET_STRING getExtnValue()

getTag

public Tag getTag()

getTemplate

public static Extension.Template getTemplate()