Top Inners Constructors Methods
org.bouncycastle.cert.selector

pack-priv Class MSOutlookKeyIdCalculator

extends Object
Class Inheritance
Imports
java.io.IOException, org.bouncycastle.asn1.ASN1Encoding, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo, org.bouncycastle.util.Pack

Nested and Inner Type Summary

Modifier and TypeClass and Description
private abstract static class
private static class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MSOutlookKeyIdCalculatorback to summary
pack-priv MSOutlookKeyIdCalculator()

Method Detail

calculateKeyIdback to summary
pack-priv static byte[] calculateKeyId(SubjectPublicKeyInfo info)
org.bouncycastle.cert.selector back to summary

private abstract Class MSOutlookKeyIdCalculator.GeneralDigest

extends Object
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.cert.selector.MSOutlookKeyIdCalculator.GeneralDigest
Known Direct Subclasses
org.bouncycastle.cert.selector.MSOutlookKeyIdCalculator.SHA1Digest

Field Summary

Modifier and TypeField and Description
private static final int
private long
private byte[]
private int

Constructor Summary

AccessConstructor and Description
protected
GeneralDigest()

Standard constructor

protected

Method Summary

Modifier and TypeMethod and Description
protected void
public void
protected abstract void
protected abstract void
processLength(long bitLength)

protected abstract void
processWord(byte[] in, int inOff)

public void
public void
update(byte in)

public void
update(byte[] in, int inOff, int len)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BYTE_LENGTHback to summary
private static final int BYTE_LENGTH
byteCountback to summary
private long byteCount
xBufback to summary
private byte[] xBuf
xBufOffback to summary
private int xBufOff

Constructor Detail

GeneralDigestback to summary
protected GeneralDigest()

Standard constructor

GeneralDigestback to summary
protected GeneralDigest(MSOutlookKeyIdCalculator.GeneralDigest t)

Copy constructor. We are using copy constructors in place of the Object.clone() interface as this interface is not supported by J2ME.

Method Detail

copyInback to summary
protected void copyIn(MSOutlookKeyIdCalculator.GeneralDigest t)
finishback to summary
public void finish()
processBlockback to summary
protected abstract void processBlock()
processLengthback to summary
protected abstract void processLength(long bitLength)
processWordback to summary
protected abstract void processWord(byte[] in, int inOff)
resetback to summary
public void reset()
updateback to summary
public void update(byte in)
updateback to summary
public void update(byte[] in, int inOff, int len)
org.bouncycastle.cert.selector back to summary

private Class MSOutlookKeyIdCalculator.SHA1Digest

extends GeneralDigest
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final int
private int
private int
private int
private int
private int
private int[]
X

private int
private static final int
private static final int
private static final int
private static final int

Constructor Summary

AccessConstructor and Description
public
SHA1Digest()

Standard constructor

Method Summary

Modifier and TypeMethod and Description
public int
doFinal(byte[] out, int outOff)

private int
f(int u, int v, int w)

private int
g(int u, int v, int w)

public String
public int
private int
h(int u, int v, int w)

protected void
protected void
protected void
public void
Inherited from org.bouncycastle.cert.selector.MSOutlookKeyIdCalculator.GeneralDigest:
copyInfinishupdateupdate

Field Detail

DIGEST_LENGTHback to summary
private static final int DIGEST_LENGTH
H1back to summary
private int H1
H2back to summary
private int H2
H3back to summary
private int H3
H4back to summary
private int H4
H5back to summary
private int H5
Xback to summary
private int[] X
xOffback to summary
private int xOff
Y1back to summary
private static final int Y1
Y2back to summary
private static final int Y2
Y3back to summary
private static final int Y3
Y4back to summary
private static final int Y4

Constructor Detail

SHA1Digestback to summary
public SHA1Digest()

Standard constructor

Method Detail

doFinalback to summary
public int doFinal(byte[] out, int outOff)
fback to summary
private int f(int u, int v, int w)
gback to summary
private int g(int u, int v, int w)
getAlgorithmNameback to summary
public String getAlgorithmName()
getDigestSizeback to summary
public int getDigestSize()
hback to summary
private int h(int u, int v, int w)
processBlockback to summary
protected void processBlock()

Implements abstract org.bouncycastle.cert.selector.MSOutlookKeyIdCalculator.GeneralDigest.processBlock.

processLengthback to summary
protected void processLength(long bitLength)

Implements abstract org.bouncycastle.cert.selector.MSOutlookKeyIdCalculator.GeneralDigest.processLength.

processWordback to summary
protected void processWord(byte[] in, int inOff)

Implements abstract org.bouncycastle.cert.selector.MSOutlookKeyIdCalculator.GeneralDigest.processWord.

resetback to summary
public void reset()

Overrides org.bouncycastle.cert.selector.MSOutlookKeyIdCalculator.GeneralDigest.reset.

reset the chaining variables