public class BigIntegerAttribute extends java.lang.Object implements Attribute
BigInteger.| Constructor and Description |
|---|
BigIntegerAttribute(java.math.BigInteger element) |
BigIntegerAttribute(java.lang.Integer element) |
BigIntegerAttribute(org.cryptimeleon.math.serialization.Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.math.BigInteger |
getAttribute()
Returns the 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 BigIntegerAttribute(java.lang.Integer element)
public BigIntegerAttribute(java.math.BigInteger element)
public BigIntegerAttribute(org.cryptimeleon.math.serialization.Representation repr)
public java.math.BigInteger 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