org.logi.crypto.keys
Class RSABlindingFactor
java.lang.Object
|
+--org.logi.crypto.Crypto
|
+--org.logi.crypto.keys.BlindingFactor
|
+--org.logi.crypto.keys.RSABlindingFactor
- All Implemented Interfaces:
- PrettyPrintable
- public class RSABlindingFactor
- extends BlindingFactor
Instances of this class hold a blinding factor for use with a particular
key-pair. Only use eachblinding factor once!
- Author:
- Logi Ragnarsson
(logir@logi.org)
Fields inherited from class org.logi.crypto.Crypto |
BIT, cdsPath, EMPTY_ARRAY, FOUR, keySource, NIBBLE, ONE, primeCertainty, random, TWO, ZERO |
Methods inherited from class org.logi.crypto.Crypto |
binString, binString, ensureArrayLength, ensureArrayLength, equal, equalRelaxed, equalSub, fromHexNibble, fromHexString, fromString, fromString, hexString, hexString, hexString, hexString, hexString, initRandom, initRandom, makeClass, makeInt, makeLong, makeSessionKey, pastSpace, pickBits, pickBits, prettyPrint, prettyPrint, readBlock, readInt, trimArrayLength, trimArrayLength, trimLeadingZeroes, writeBytes, writeBytes, writeInt |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RSABlindingFactor
public RSABlindingFactor(java.math.BigInteger factor)
getFactor
public java.math.BigInteger getFactor()
parseCDS
public static RSABlindingFactor parseCDS(java.lang.String[] param)
throws InvalidCDSException
- Used by Crypto.fromString when parsing a CDS.
A valid CDS can be created by calling the toString() method.
- Throws:
InvalidCDSException
- if the CDS is malformed.- See Also:
Crypto.fromString(String)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 1997-2000 Logi Ragnarsson