public class RingElementAttribute extends java.lang.Object implements Attribute
RingElement.| Constructor and Description |
|---|
RingElementAttribute(org.cryptimeleon.math.serialization.Representation repr) |
RingElementAttribute(org.cryptimeleon.math.structures.rings.RingElement element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
org.cryptimeleon.math.structures.rings.RingElement |
getAttribute()
Returns the ring element representing the attributes value
|
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
int |
hashCode() |
boolean |
isFulfilled(java.util.Collection<? extends PolicyFact> facts) |
java.lang.String |
toString() |
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator) |
public RingElementAttribute(org.cryptimeleon.math.structures.rings.RingElement element)
public RingElementAttribute(org.cryptimeleon.math.serialization.Representation repr)
public org.cryptimeleon.math.structures.rings.RingElement getAttribute()
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isFulfilled(java.util.Collection<? extends PolicyFact> facts)
isFulfilled in interface Policypublic org.cryptimeleon.math.hash.ByteAccumulator updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator)
updateAccumulator in interface org.cryptimeleon.math.hash.UniqueByteRepresentable