The ASN.1 definition of the key structure is
RainbowPrivateKey ::= SEQUENCE {
CHOICE
{
oid OBJECT IDENTIFIER -- OID identifying the algorithm
version INTEGER -- 0
}
A1inv SEQUENCE OF OCTET STRING -- inversed matrix of L1
b1 OCTET STRING -- translation vector of L1
A2inv SEQUENCE OF OCTET STRING -- inversed matrix of L2
b2 OCTET STRING -- translation vector of L2
vi OCTET STRING -- num of elmts in each Set S
layers SEQUENCE OF Layer -- layers of F
}
Layer ::= SEQUENCE OF Poly
Poly ::= SEQUENCE {
alpha SEQUENCE OF OCTET STRING
beta SEQUENCE OF OCTET STRING
gamma OCTET STRING
eta INTEGER
}
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private byte[] | |
| private byte[][] | |
| private byte[][] | |
| private Layer[] | |
| private ASN1ObjectIdentifier | |
| private ASN1Integer | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| private | |
| public | RainbowPrivateKey(short[][] invA1, short[] b1, short[][] invA2, short[] b2, int[] vi, Layer[] layers)
|
| Modifier and Type | Method and Description |
|---|---|
| public short[] | Returns: b1 the translation part of L1Getter for the translation part of the private quadratic map L1. |
| public short[] | Returns: b2 the translation part of L2Getter for the translation part of the private quadratic map L2. |
| public static RainbowPrivateKey | |
| public short[][] | |
| public short[][] | |
| public Layer[] | |
| public ASN1Integer | |
| public int[] | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Method providing a primitive representation of this object suitable for encoding. |
| b1 | back to summary |
|---|---|
| private byte[] b1 | |
| b2 | back to summary |
|---|---|
| private byte[] b2 | |
| invA1 | back to summary |
|---|---|
| private byte[][] invA1 | |
| invA2 | back to summary |
|---|---|
| private byte[][] invA2 | |
| layers | back to summary |
|---|---|
| private Layer[] layers | |
| oid | back to summary |
|---|---|
| private ASN1ObjectIdentifier oid | |
| version | back to summary |
|---|---|
| private ASN1Integer version | |
| vi | back to summary |
|---|---|
| private byte[] vi | |
| RainbowPrivateKey | back to summary |
|---|---|
| private RainbowPrivateKey(ASN1Sequence seq) | |
| RainbowPrivateKey | back to summary |
|---|---|
| public RainbowPrivateKey(short[][] invA1, short[] b1, short[][] invA2, short[] b2, int[] vi, Layer[] layers) | |
| getB1 | back to summary |
|---|---|
| public short[] getB1() Getter for the translation part of the private quadratic map L1.
| |
| getB2 | back to summary |
|---|---|
| public short[] getB2() Getter for the translation part of the private quadratic map L2.
| |
| getInstance | back to summary |
|---|---|
| public static RainbowPrivateKey getInstance(Object o) | |
| getInvA1 | back to summary |
|---|---|
| public short[][] getInvA1() Getter for the inverse matrix of A1.
| |
| getInvA2 | back to summary |
|---|---|
| public short[][] getInvA2() Getter for the inverse matrix of A2
| |
| getLayers | back to summary |
|---|---|
| public Layer[] getLayers() Returns the layers contained in the private key
| |
| getVersion | back to summary |
|---|---|
| public ASN1Integer getVersion() | |
| getVi | back to summary |
|---|---|
| public int[] getVi() Returns the array of vi-s
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |