|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.crypto.MacSpi
public abstract class MacSpi
ÀÌ Å¬·¡½º´Â Mac
Ŭ·¡½ºÀÇ Service Provider Interface (SPI)¸¦ Á¤ÀÇÇÕ´Ï´Ù. ƯÁ¤ÀÇ MAC ¾Ë°í¸®ÁòÀÇ ±¸ÇöÀ» Á¦°øÇÏ´Â °¢ ¾ÏÈ£È ¼ºñ½º ÇÁ·Î¹ÙÀÌ´õ´Â ÀÌ Å¬·¡½ºÀÇ ¸ðµç Ãß»ó ¸Þ¼µå¸¦ ±¸ÇöÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
Cloneable ÀÎÅÍÆäÀ̽º´Â ÀÚÀ¯·Ó°Ô ±¸ÇöÇÒ ¼ö ÀÖ½À´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
MacSpi ()
|
¸Þ¼µå °³¿ä | |
---|---|
Object |
clone ()
±¸ÇöÀÌ º¹Á¦ °¡´ÉÇÑ °æ¿ì´Â º¹Á¦¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
protected abstract byte[] |
engineDoFinal ()
MAC °è»êÀ» ¿Ï·áÇØ, Àå·¡ÀÇ »ç¿ëÀ» À§Çؼ MAC¸¦ ¸®¼Â ÇÕ´Ï´Ù. |
protected abstract int |
engineGetMacLength ()
MAC ±æÀ̸¦ ¹ÙÀÌÆ® ´ÜÀ§·Î ¸®ÅÏÇÕ´Ï´Ù. |
protected abstract void |
engineInit (Key key,
AlgorithmParameterSpec params)
ÁöÁ¤µÈ (ºñ¹Ð) Ű¿Í ¾Ë°í¸®Áò ÆÄ¶ó¹ÌÅ͸¦ »ç¿ëÇØ MAC¸¦ ÃʱâÈÇÕ´Ï´Ù. |
protected abstract void |
engineReset ()
Àå·¡ÀÇ »ç¿ëÀ» À§Çؼ MAC¸¦ ¸®¼Â ÇÕ´Ï´Ù. |
protected abstract void |
engineUpdate (byte input)
ÁöÁ¤µÈ ¹ÙÀÌÆ®¸¦ ó¸®ÇÕ´Ï´Ù. |
protected abstract void |
engineUpdate (byte[] input,
int offset,
int len)
input ³»ÀÇ len ¹ÙÀÌÆ®¸¦ ó¸®ÇÕ´Ï´Ù. |
protected void |
engineUpdate (ByteBuffer input)
input.position()·Î ½ÃÀ۵Ǵ ByteBuffer input input.remaining() ¹ÙÀÌÆ®¸¦ ó¸®ÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public MacSpi()
¸Þ¼µåÀÇ »ó¼¼ |
---|
protected abstract int engineGetMacLength()
protected abstract void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException
key
- (ºñ¹Ð) Űparams
- ¾Ë°í¸®Áò ÆÄ¶ó¹ÌÅÍ
InvalidKeyException
- ÁöÁ¤µÈ ۰¡ ÀÌ MAC
ÃʱâÈ¿¡ ºÎÀûÀýÇÑ °æ¿ì
InvalidAlgorithmParameterException
- ÁöÁ¤µÈ ¾Ë°í¸®Áò ÆÄ¶ó¹ÌÅͰ¡ ÀÌ MAC¿¡ ºÎÀûÀýÇÑ °æ¿ìprotected abstract void engineUpdate(byte input)
input
- 󸮵Ǵ ÀÔ·Â ¹ÙÀÌÆ®protected abstract void engineUpdate(byte[] input, int offset, int len)
offset
·Î
ºÎÅÍ ½ÃÀÛÇÕ´Ï´Ù.
input
- ÀÔ·Â ¹öÆÛoffset
- ÀÔ·ÂÀ» °³½ÃÇÏ´Â input
³»ÀÇ ¿ÀÇÁ¼Â(offset)len
- ó¸®ÇÏ´Â ¹ÙÀÌÆ®¼öprotected void engineUpdate(ByteBuffer input)
ByteBuffer¸¦ ¹ÙÀÌÆ® ¹è¿º¸´Ù È¿À²ÀûÀ¸·Î ó¸®ÇÒ ¼ö ÀÖ´Â °æ¿ì´Â ¼ºê Ŭ·¡½º¿¡¼ ÀÌ ¸Þ¼µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °ÍÀ» »ý°¢ÇØ¾ß ÇÕ´Ï´Ù.
input
- ByteBufferprotected abstract byte[] engineDoFinal()
protected abstract void engineReset()
public Object clone() throws CloneNotSupportedException
Object
³»ÀÇ clone
CloneNotSupportedException
- Cloneable
À»
Áö¿ø
Çϰí ÀÖÁö ¾Ê´Â ±¸ÇöÀ¸·Î ºÒ·Á °¬À» °æ¿ìCloneable
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.