org.mozilla.jss.pkix.primitive
public class AlgorithmIdentifier extends Object implements ASN1Value
| Nested Class Summary | |
|---|---|
| static class | AlgorithmIdentifier.Template |
| Field Summary | |
|---|---|
| static Tag | TAG |
| Constructor Summary | |
|---|---|
| AlgorithmIdentifier(OBJECT_IDENTIFIER oid)
Creates an AlgorithmIdentifier with no parameter. | |
| AlgorithmIdentifier(OBJECT_IDENTIFIER oid, ASN1Value parameters)
Creates an AlgorithmIdentifier.
| |
| Method Summary | |
|---|---|
| void | encode(OutputStream ostream) |
| void | encode(Tag implicit, OutputStream ostream) |
| OBJECT_IDENTIFIER | getOID() |
| ASN1Value | getParameters()
If this instance was constructed, returns the
parameter passed in to the constructer. |
| Tag | getTag() |
| static AlgorithmIdentifier.Template | getTemplate() |
Parameters: parameters The algorithm parameters. A value of null
will be encoded with an ASN.1 NULL.